mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
yoik, that could've been an interesting security hole ...
git-svn-id: file:///svn/phpbb/trunk@1859 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2c3062fb75
commit
009b1b4a50
1 changed files with 1 additions and 1 deletions
|
@ -101,8 +101,8 @@ $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.s
|
||||||
WHERE u.user_id = s.session_user_id
|
WHERE u.user_id = s.session_user_id
|
||||||
AND ( s.session_time >= ".( time() - 300 ) . "
|
AND ( s.session_time >= ".( time() - 300 ) . "
|
||||||
OR u.user_session_time >= " . ( time() - 300 ) . " )
|
OR u.user_session_time >= " . ( time() - 300 ) . " )
|
||||||
$user_forum_sql
|
|
||||||
ORDER BY u.username ASC";
|
ORDER BY u.username ASC";
|
||||||
|
//$user_forum_sql
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
if(!$result)
|
if(!$result)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue