aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-06-14 15:03:52 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-06-14 15:03:52 +0000
commit6813967ae1024d386c6f829256a66f9391791dda (patch)
tree388382dc11f437491eb43a4707b029759691903f /phpBB/viewtopic.php
parent9693f31404037cce3067f249d1cbbb93ef705cab (diff)
downloadforums-6813967ae1024d386c6f829256a66f9391791dda.tar
forums-6813967ae1024d386c6f829256a66f9391791dda.tar.gz
forums-6813967ae1024d386c6f829256a66f9391791dda.tar.bz2
forums-6813967ae1024d386c6f829256a66f9391791dda.tar.xz
forums-6813967ae1024d386c6f829256a66f9391791dda.zip
Changing the behaviour of the hideonline permission.
Test the current setting before altering the memory limit during install(Bug #12195) And another language var. git-svn-id: file:///svn/phpbb/trunk@7755 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index e65388d35e..2f6aac1fc6 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1100,7 +1100,7 @@ if ($config['load_onlinetrack'] && sizeof($id_cache))
$update_time = $config['load_online_time'] * 60;
while ($row = $db->sql_fetchrow($result))
{
- $user_cache[$row['session_user_id']]['online'] = (time() - $update_time < $row['online_time'] && (($row['viewonline'] && $user_cache[$row['session_user_id']]['viewonline']) || $auth->acl_get('u_viewonline'))) ? true : false;
+ $user_cache[$row['session_user_id']]['online'] = (time() - $update_time < $row['online_time'] && (($row['viewonline']) || $auth->acl_get('u_viewonline'))) ? true : false;
}
$db->sql_freeresult($result);
}