mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/10532] Put $total_match_count assignment onto its own line.
PHPBB3-10532
This commit is contained in:
parent
cb7bb31129
commit
8f3fba8858
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue