aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 6189c359bd..cf2e8615c2 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -373,6 +373,9 @@ if ($keywords || $author || $author_id || $search_id || $submit)
' . ((sizeof($ex_fid_ary)) ? 'AND ' . $db->sql_in_set('t.forum_id', $ex_fid_ary, true) : '') . "
$sql_sort";
/*
+ [Fix] queued replies missing from "view new posts" (Bug #42705 - Patch by Paul)
+ - Creates temporary table, query is far from optimized
+
$sql = 'SELECT t.topic_id
FROM ' . TOPICS_TABLE . ' t, ' . POSTS_TABLE . ' p
WHERE p.post_time > ' . $user->data['user_lastvisit'] . '