aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2014-03-08 21:44:30 +0530
committerDhruv <dhruv.goel92@gmail.com>2014-03-08 21:44:30 +0530
commit3b6d37131025f04caf998c26316497ebd4a37a4d (patch)
tree768d0b3b59bc24b6bf3aaef3fc388b7459c20eb9 /phpBB/search.php
parent9100f4ebbfba9a4eb7a91e545bf85a3982ffc0dd (diff)
parentc51dcbe6a0cd6e15456ac80b2bdfe13d94f27f07 (diff)
downloadforums-3b6d37131025f04caf998c26316497ebd4a37a4d.tar
forums-3b6d37131025f04caf998c26316497ebd4a37a4d.tar.gz
forums-3b6d37131025f04caf998c26316497ebd4a37a4d.tar.bz2
forums-3b6d37131025f04caf998c26316497ebd4a37a4d.tar.xz
forums-3b6d37131025f04caf998c26316497ebd4a37a4d.zip
Merge branch 'ticket/10945' into ticket/10945-develop
* ticket/10945: [ticket/10945] Fix return values for split_keywords function [ticket/10945] Display search query when search fails in native search [ticket/10945] remove trigger_error call Conflicts: phpBB/phpbb/search/fulltext_native.php
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 2d516502ed..d03cef5e14 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -527,12 +527,6 @@ if ($keywords || $author || $author_id || $search_id || $submit)
$total_match_count = $search->author_search($show_results, $firstpost_only, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_posts_fid_sql, $topic_id, $author_id_ary, $sql_author_match, $id_ary, $start, $per_page);
}
- // For some searches we need to print out the "no results" page directly to allow re-sorting/refining the search options.
- if (!sizeof($id_ary) && !$search_id)
- {
- trigger_error('NO_SEARCH_RESULTS');
- }
-
$sql_where = '';
if (sizeof($id_ary))