mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-14 12:44:06 +02:00
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
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user