diff options
Diffstat (limited to 'phpBB/includes/search/fulltext_phpbb.php')
-rw-r--r-- | phpBB/includes/search/fulltext_phpbb.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_phpbb.php b/phpBB/includes/search/fulltext_phpbb.php index 0a4a445b56..b4b0efb7b1 100644 --- a/phpBB/includes/search/fulltext_phpbb.php +++ b/phpBB/includes/search/fulltext_phpbb.php @@ -139,7 +139,8 @@ class fulltext_phpbb $sql_find_in = (sizeof($pid_ary)) ? 'AND ' . (($type == 'topics') ? 't.topic_id' : 'm.post_id') . ' IN (' . implode(', ', $pid_ary) . ')' : ''; $result_ary = array(); - foreach (array('AND', 'OR', 'NOT') as $bool) + $_bool = array('AND', 'OR', 'NOT'); + foreach ($_bool as $bool) { if (isset($sql_words[$bool]) && is_array($sql_words[$bool])) { |