1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

Bug #54285 - Correctly exclude subforums from ATOM Feeds.

Authorised by: bantu


git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10287 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Joas Schilling
2009-11-24 18:26:15 +00:00
parent f864e75174
commit 4f0db631d9
2 changed files with 2 additions and 1 deletions

View File

@@ -644,7 +644,7 @@ class phpbb_feed
}
// Determine which forums to fetch
$not_in_fid = (sizeof($this->excluded_forums())) ? ' AND ' . $db->sql_in_set('f1.forum_id', $this->excluded_forums(), true) : '';
$not_in_fid = (sizeof($this->excluded_forums())) ? ' AND ' . $db->sql_in_set('f2.forum_id', $this->excluded_forums(), true) : '';
// Determine forum childs...
$sql = 'SELECT f2.forum_id