aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2008-11-01 19:00:50 +0000
committerNils Adermann <naderman@naderman.de>2008-11-01 19:00:50 +0000
commitf9b2dcff66d88dfe9237aaa7147e622a2991606d (patch)
treeb42150170983468777f1169d5b270db98048f79c /phpBB/search.php
parent2b6d9d897b090f35e751c5905b09379f4986aa1c (diff)
downloadforums-f9b2dcff66d88dfe9237aaa7147e622a2991606d.tar
forums-f9b2dcff66d88dfe9237aaa7147e622a2991606d.tar.gz
forums-f9b2dcff66d88dfe9237aaa7147e622a2991606d.tar.bz2
forums-f9b2dcff66d88dfe9237aaa7147e622a2991606d.tar.xz
forums-f9b2dcff66d88dfe9237aaa7147e622a2991606d.zip
very minor annoyance
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9040 89ea8834-ac86-4346-8a33-228a782c2dd0
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);
}