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:
parent
114452a37f
commit
0cef3a8d04
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user