mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
Change for topic_moved_is not null
git-svn-id: file:///svn/phpbb/trunk@1573 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0aa7d08106
commit
dbbf9bd321
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ if($total_categories = $db->sql_numrows($q_categories))
|
||||||
WHERE t.forum_id = f.forum_id
|
WHERE t.forum_id = f.forum_id
|
||||||
AND p.post_id = t.topic_last_post_id
|
AND p.post_id = t.topic_last_post_id
|
||||||
AND p.post_time > " . $userdata['session_last_visit'] . "
|
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))
|
if(!$new_topic_ids = $db->sql_query($sql))
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Could not query new topic information", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Could not query new topic information", "", __LINE__, __FILE__, $sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue