From 1bf18e23edb13b2d3014c4509e4d1b15ddc274fe Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 30 Nov 2005 17:48:06 +0000 Subject: - added acp_language (language pack management) - minor adjustments to cope with PHP5.x git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/search/fulltext_phpbb.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/search/fulltext_phpbb.php') 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])) { -- cgit v1.2.1