From 66e0b322202c62644c29a198307d62f9eac12e53 Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Mon, 16 Sep 2002 15:22:52 +0000 Subject: Forums management updated, now able to delete forums git-svn-id: file:///svn/phpbb/trunk@2890 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/functions_admin.php') diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index f5b965a160..e17a4138a8 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -81,7 +81,7 @@ function sync($type, $id) FROM " . POSTS_TABLE . " p, " . TOPICS_TABLE . " t WHERE p.forum_id = $id AND t.topic_id = p.topic_id - AND t.topic_status <> " . TOPIC_MOVED; + AND t.topic_status <> " . ITEM_MOVED; $result = $db->sql_query($sql); if ( $row = $db->sql_fetchrow($result) ) @@ -98,7 +98,7 @@ function sync($type, $id) $sql = "SELECT COUNT(topic_id) AS total FROM " . TOPICS_TABLE . " WHERE forum_id = $id - AND topic_status <> " . TOPIC_MOVED; + AND topic_status <> " . ITEM_MOVED; $result = $db->sql_query($sql); $total_topics = ( $row = $db->sql_fetchrow($result) ) ? ( ( $row['total'] ) ? $row['total'] : 0 ) : 0; -- cgit v1.2.1