diff options
-rw-r--r-- | phpBB/phpbb/search/fulltext_native.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'); } |