aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-04 15:15:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-04 15:15:40 +0000
commit26aba1a1f170ac51a56fe86bbc19588e0efee3c3 (patch)
treea92878b658c325297e5054d5622d642934b189df /phpBB/includes/functions_display.php
parentf7f6e9bcde7a1508109146f462d4627a484eb594 (diff)
downloadforums-26aba1a1f170ac51a56fe86bbc19588e0efee3c3.tar
forums-26aba1a1f170ac51a56fe86bbc19588e0efee3c3.tar.gz
forums-26aba1a1f170ac51a56fe86bbc19588e0efee3c3.tar.bz2
forums-26aba1a1f170ac51a56fe86bbc19588e0efee3c3.tar.xz
forums-26aba1a1f170ac51a56fe86bbc19588e0efee3c3.zip
- finally removed sql_numrows
- sql_fetchfield now in dbal.php - check query id correctly as well as other tiny fixes git-svn-id: file:///svn/phpbb/trunk@6439 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 6b8b40049f..a1fdabd84f 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -339,7 +339,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
'FORUM_ID' => $row['forum_id'],
'FORUM_NAME' => $row['forum_name'],
'FORUM_DESC' => generate_text_for_display($row['forum_desc'], $row['forum_desc_uid'], $row['forum_desc_bitfield'], $row['forum_desc_options']),
- 'TOPICS' => ($auth->acl_get('m_approve', $forum_id)) ? $row['forum_topics_real'] : $row['forum_topics'],
+ 'TOPICS' => $row['forum_topics'],
$l_post_click_count => $post_click_count,
'FORUM_FOLDER_IMG' => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="' . $user->lang[$folder_alt] . '" />' : $user->img($folder_image, $folder_alt),
'FORUM_FOLDER_IMG_SRC' => ($row['forum_image']) ? $phpbb_root_path . $row['forum_image'] : $user->img($folder_image, $folder_alt, false, '', 'src'),