aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 3a8b3cdc0d..965c1a3c4b 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -419,7 +419,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
}
else if (sizeof($author_id_ary))
{
- $firstpost_only = ($search_fields === 'firstpost') ? true : false;
+ $firstpost_only = ($search_fields === 'firstpost' || $search_fields == 'titleonly') ? true : false;
$total_match_count = $search->author_search($show_results, $firstpost_only, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $m_approve_fid_ary, $topic_id, $author_id_ary, $id_ary, $start, $per_page);
}