aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 7413b6e92a..f1526e200e 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -389,7 +389,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
else if( $search_id == "unanswered" )
{
- $search_sql = "t.topic_replies = 0 ";
+ $search_sql = "t.topic_replies = 0 AND t.topic_moved_id = 0";
//
// Basic requirements