aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-08-12 09:19:47 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-08-12 09:19:47 +0000
commitdedddfabedf357cda8606a6bc6c49ac48028bc07 (patch)
treea68f838b88458ee74fce91c6c6e6febb20b3c86b
parentbe963ed93892659005f892767548ee4597e73fcb (diff)
downloadforums-dedddfabedf357cda8606a6bc6c49ac48028bc07.tar
forums-dedddfabedf357cda8606a6bc6c49ac48028bc07.tar.gz
forums-dedddfabedf357cda8606a6bc6c49ac48028bc07.tar.bz2
forums-dedddfabedf357cda8606a6bc6c49ac48028bc07.tar.xz
forums-dedddfabedf357cda8606a6bc6c49ac48028bc07.zip
change item to item_id; related to #49485
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9958 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 23ed190bcd..6c651b2b86 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3692,7 +3692,7 @@ function obtain_users_online($item_id = 0, $item = 'forum')
global $db, $config, $user;
$reading_sql = '';
- if ($item !== 0)
+ if ($item_id !== 0)
{
$reading_sql = ' AND s.session_' . $item . '_id = ' . (int) $item_id;
}