1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

Fix claim

This commit is contained in:
8chan 2015-02-16 16:10:35 -08:00
parent 114452a37f
commit 0cef3a8d04

View File

@ -31,7 +31,7 @@ function last_activity($board) {
} else {// no one ever logged in, try board creation time
$query = query("SELECT UNIX_TIMESTAMP(time) AS time FROM board_create WHERE uri = '$board'");
$crt = $query->fetchAll(PDO::FETCH_COLUMN);
$last_activity_date->setTimestamp($crt[0]);
if ($crt) $last_activity_date->setTimestamp($crt[0]);
$last_mod_date = false;
}
}