From: Henry S. <kel...@ph...> - 2009-08-12 09:20:31
|
Author: Kellanved Date: Wed Aug 12 10:19:47 2009 New Revision: 9958 Log: change item to item_id; related to #49485 Modified: branches/phpBB-3_0_0/phpBB/includes/functions.php Modified: branches/phpBB-3_0_0/phpBB/includes/functions.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/functions.php (original) --- branches/phpBB-3_0_0/phpBB/includes/functions.php Wed Aug 12 10:19:47 2009 *************** *** 3692,3698 **** global $db, $config, $user; $reading_sql = ''; ! if ($item !== 0) { $reading_sql = ' AND s.session_' . $item . '_id = ' . (int) $item_id; } --- 3692,3698 ---- global $db, $config, $user; $reading_sql = ''; ! if ($item_id !== 0) { $reading_sql = ' AND s.session_' . $item . '_id = ' . (int) $item_id; } |