Last update before closing project. Thank you!
git-svn-id: https://svn.pioder.pl/uf-svn/uF@38 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
2
includes/cache/cache_topic.php
vendored
2
includes/cache/cache_topic.php
vendored
@@ -55,7 +55,7 @@ while ($result = DataBase::fetch($query))
|
||||
}
|
||||
|
||||
//check online for user
|
||||
$sql = "SELECT `s_id`, `u_id`, `time` FROM ".SESSIONS_TABLE." WHERE time+1250>".time();
|
||||
$sql = "SELECT `s_id`, `u_id`, `time` FROM ".SESSIONS_TABLE." WHERE time+1250>".$_SERVER['REQUEST_TIME'];
|
||||
$query = DataBase::sql_query($sql, GENERAL, 'Could not read user active.');
|
||||
while($result = DataBase::fetch($query))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user