|
From: Paul S. O. <ps...@us...> - 2002-04-04 15:29:55
|
Update of /cvsroot/phpbb/phpBB2 In directory usw-pr-cvs1:/tmp/cvs-serv29643 Modified Files: modcp.php Log Message: Minor update for page count display Index: modcp.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/modcp.php,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -r1.70 -r1.71 *** modcp.php 2 Apr 2002 14:02:05 -0000 1.70 --- modcp.php 4 Apr 2002 11:41:32 -0000 1.71 *************** *** 145,149 **** $topic_row = $db->sql_fetchrow($result); ! $forum_topics = $topic_row['forum_topics']; $forum_id = $topic_row['forum_id']; $forum_name = $topic_row['forum_name']; --- 145,149 ---- $topic_row = $db->sql_fetchrow($result); ! $forum_topics = ( $topic_row['forum_topics'] == 0 ) ? 1 : $topic_row['forum_topics']; $forum_id = $topic_row['forum_id']; $forum_name = $topic_row['forum_name']; *************** *** 160,164 **** $topic_row = $db->sql_fetchrow($result); ! $forum_topics = $topic_row['forum_topics']; $forum_name = $topic_row['forum_name']; } --- 160,164 ---- $topic_row = $db->sql_fetchrow($result); ! $forum_topics = ( $topic_row['forum_topics'] == 0 ) ? 1 : $topic_row['forum_topics']; $forum_name = $topic_row['forum_name']; } |