From dbbf9bd32121b0dbf963be1ad3d421edd2a52a9c Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 14 Dec 2001 18:28:38 +0000 Subject: [PATCH] Change for topic_moved_is not null git-svn-id: file:///svn/phpbb/trunk@1573 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/index.php b/phpBB/index.php index ae0ea42679..7e875cf890 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -186,7 +186,7 @@ if($total_categories = $db->sql_numrows($q_categories)) WHERE t.forum_id = f.forum_id AND p.post_id = t.topic_last_post_id AND p.post_time > " . $userdata['session_last_visit'] . " - AND t.topic_moved_id IS NULL"; + AND t.topic_moved_id = 0"; if(!$new_topic_ids = $db->sql_query($sql)) { message_die(GENERAL_ERROR, "Could not query new topic information", "", __LINE__, __FILE__, $sql);