aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_phpbb.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-11-30 17:48:06 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-11-30 17:48:06 +0000
commit1bf18e23edb13b2d3014c4509e4d1b15ddc274fe (patch)
treedfbf1798248969f0ac79842d4f0dc449a36f6cd2 /phpBB/includes/search/fulltext_phpbb.php
parentba6f40ce2542b87c7110dd9e38e4c0386b22da81 (diff)
downloadforums-1bf18e23edb13b2d3014c4509e4d1b15ddc274fe.tar
forums-1bf18e23edb13b2d3014c4509e4d1b15ddc274fe.tar.gz
forums-1bf18e23edb13b2d3014c4509e4d1b15ddc274fe.tar.bz2
forums-1bf18e23edb13b2d3014c4509e4d1b15ddc274fe.tar.xz
forums-1bf18e23edb13b2d3014c4509e4d1b15ddc274fe.zip
- 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
Diffstat (limited to 'phpBB/includes/search/fulltext_phpbb.php')
-rw-r--r--phpBB/includes/search/fulltext_phpbb.php3
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]))
{