aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-02-26 01:58:17 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-02-26 01:58:17 +0100
commit8f3fba885859e00646531632558d75b609ecf813 (patch)
treeec95005c617b5dd75cfe095edbae08e81637745e /phpBB/search.php
parentcb7bb31129a38cbdbeb682e869e51b1199b43bfb (diff)
downloadforums-8f3fba885859e00646531632558d75b609ecf813.tar
forums-8f3fba885859e00646531632558d75b609ecf813.tar.gz
forums-8f3fba885859e00646531632558d75b609ecf813.tar.bz2
forums-8f3fba885859e00646531632558d75b609ecf813.tar.xz
forums-8f3fba885859e00646531632558d75b609ecf813.zip
[ticket/10532] Put $total_match_count assignment onto its own line.
PHPBB3-10532
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 3956478371..87e40832a5 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -494,7 +494,8 @@ if ($keywords || $author || $author_id || $search_id || $submit)
$id_ary = array_keys(get_unread_topics($user->data['user_id'], $sql_where, $sql_sort, ($total_matches_limit + 1)));
}
- if ($total_match_count = sizeof($id_ary))
+ $total_match_count = sizeof($id_ary);
+ if ($total_match_count)
{
// Limit the number to $total_matches_limit for pre-made searches
if ($total_match_count > $total_matches_limit)