mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/10532] Put $total_match_count assignment onto its own line.
PHPBB3-10532
This commit is contained in:
@@ -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)));
|
$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
|
// Limit the number to $total_matches_limit for pre-made searches
|
||||||
if ($total_match_count > $total_matches_limit)
|
if ($total_match_count > $total_matches_limit)
|
||||||
|
Reference in New Issue
Block a user