[ticket/14044] Use empty instead of !count

PHPBB3-14044
This commit is contained in:
Mate Bartus 2015-10-23 13:25:00 +02:00
parent e0d06ee83e
commit d34d6378bc

View file

@ -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'); $this->db->sql_transaction('begin');
} }