From d34d6378bc7db03daa763aa54739b69b07610702 Mon Sep 17 00:00:00 2001 From: Mate Bartus Date: Fri, 23 Oct 2015 13:25:00 +0200 Subject: [PATCH] [ticket/14044] Use empty instead of !count PHPBB3-14044 --- phpBB/phpbb/search/fulltext_native.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php index 5fc276170d..516316dc54 100644 --- a/phpBB/phpbb/search/fulltext_native.php +++ b/phpBB/phpbb/search/fulltext_native.php @@ -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'); }