mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/14044] Use empty instead of !count
PHPBB3-14044
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user