aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_mysql.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-08-12 14:58:02 +0000
committerNils Adermann <naderman@naderman.de>2006-08-12 14:58:02 +0000
commitb3b09186feebaac20dba8789d6bd50168cd4ab6b (patch)
tree001451123e3cba84ae54103c883014190e8a35d8 /phpBB/includes/search/fulltext_mysql.php
parente9a14eebf6ce9c26ffa7054ec59779de340330fb (diff)
downloadforums-b3b09186feebaac20dba8789d6bd50168cd4ab6b.tar
forums-b3b09186feebaac20dba8789d6bd50168cd4ab6b.tar.gz
forums-b3b09186feebaac20dba8789d6bd50168cd4ab6b.tar.bz2
forums-b3b09186feebaac20dba8789d6bd50168cd4ab6b.tar.xz
forums-b3b09186feebaac20dba8789d6bd50168cd4ab6b.zip
m_approve_fid should be negated
git-svn-id: file:///svn/phpbb/trunk@6273 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_mysql.php')
-rw-r--r--phpBB/includes/search/fulltext_mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php
index 827e13676d..4a9a57df34 100644
--- a/phpBB/includes/search/fulltext_mysql.php
+++ b/phpBB/includes/search/fulltext_mysql.php
@@ -487,7 +487,7 @@ class fulltext_mysql extends search_backend
}
else
{
- $m_approve_fid_sql = ' AND (p.post_approved = 1 OR ' . $db->sql_in_set('p.forum_id', $m_approve_fid_ary) . ')';
+ $m_approve_fid_sql = ' AND (p.post_approved = 1 OR ' . $db->sql_in_set('p.forum_id', $m_approve_fid_ary, true) . ')';
}
// If the cache was completely empty count the results