diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-30 17:48:06 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-30 17:48:06 +0000 |
| commit | 1bf18e23edb13b2d3014c4509e4d1b15ddc274fe (patch) | |
| tree | dfbf1798248969f0ac79842d4f0dc449a36f6cd2 /phpBB/includes/search/fulltext_phpbb.php | |
| parent | ba6f40ce2542b87c7110dd9e38e4c0386b22da81 (diff) | |
| download | forums-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.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])) { |
