1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[ticket/10532] Put $total_match_count assignment onto its own line.

PHPBB3-10532
This commit is contained in:
Andreas Fischer 2012-02-26 01:58:17 +01:00
parent cb7bb31129
commit 8f3fba8858

View File

@ -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)