From: Henry S. <kel...@ph...> - 2009-08-14 15:56:07
|
Author: Kellanved Date: Fri Aug 14 16:55:50 2009 New Revision: 9984 Log: we are not supposed to know that yet Modified: branches/phpBB-3_0_0/phpBB/viewtopic.php Modified: branches/phpBB-3_0_0/phpBB/viewtopic.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/viewtopic.php (original) --- branches/phpBB-3_0_0/phpBB/viewtopic.php Fri Aug 14 16:55:50 2009 *************** *** 278,285 **** } $forum_id = (int) $topic_data['forum_id']; - $topic_id = (int) $topic_data['topic_id']; - // This is for determining where we are (page) if ($post_id) { --- 278,283 ---- *************** *** 324,329 **** --- 322,328 ---- } } + $topic_id = (int) $topic_data['topic_id']; // $topic_replies = ($auth->acl_get('m_approve', $forum_id)) ? $topic_data['topic_replies_real'] : $topic_data['topic_replies']; |