mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/14044] Use empty instead of !count
PHPBB3-14044
This commit is contained in:
parent
e0d06ee83e
commit
d34d6378bc
1 changed files with 1 additions and 1 deletions
|
@ -1510,7 +1510,7 @@ class fulltext_native extends \phpbb\search\base
|
|||
}
|
||||
}
|
||||
|
||||
if (!count($unique_add_words))
|
||||
if (empty($unique_add_words))
|
||||
{
|
||||
$this->db->sql_transaction('begin');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue