Find & replace went horribly wrong...

This commit is contained in:
Ice
2008-08-10 01:56:17 +00:00
parent 78ce5e5f92
commit 18d0124675
5 changed files with 8 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ $fetch_news = phpbb_fetch_posts($portal_config['portal_news_forum'], $portal_con
$topic_type = ($portal_config['portal_show_all_news']) ? '( topic_type <> ' . POST_ANNOUNCE . ' ) AND ( topic_type <> ' . POST_GLOBAL . ')' : 'topic_type = ' . POST_NORMAL;
$sql = 'SELECT sizeof(topic_id) AS num_topics
$sql = 'SELECT COUNT(topic_id) AS num_topics
FROM ' . TOPICS_TABLE . '
WHERE ' . $topic_type . '
AND topic_approved = 1