aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-12-14 18:28:38 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-12-14 18:28:38 +0000
commitdbbf9bd32121b0dbf963be1ad3d421edd2a52a9c (patch)
tree3237ad8ab2e06a936212d08d10f24778e11b2e28
parent0aa7d08106a55232e9ca1846d9478941482b9531 (diff)
downloadforums-dbbf9bd32121b0dbf963be1ad3d421edd2a52a9c.tar
forums-dbbf9bd32121b0dbf963be1ad3d421edd2a52a9c.tar.gz
forums-dbbf9bd32121b0dbf963be1ad3d421edd2a52a9c.tar.bz2
forums-dbbf9bd32121b0dbf963be1ad3d421edd2a52a9c.tar.xz
forums-dbbf9bd32121b0dbf963be1ad3d421edd2a52a9c.zip
Change for topic_moved_is not null
git-svn-id: file:///svn/phpbb/trunk@1573 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/index.php2
1 files changed, 1 insertions, 1 deletions
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);