aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-23 00:59:51 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-07-23 00:59:51 +0200
commit10ba1e73da8be9920708593592ab47493de4b101 (patch)
treebe8525bf80d2da813573110841ccd5c133612614
parent8dc8ee205a30e4f1813f2b85e0176cc47100f47b (diff)
downloadforums-10ba1e73da8be9920708593592ab47493de4b101.tar
forums-10ba1e73da8be9920708593592ab47493de4b101.tar.gz
forums-10ba1e73da8be9920708593592ab47493de4b101.tar.bz2
forums-10ba1e73da8be9920708593592ab47493de4b101.tar.xz
forums-10ba1e73da8be9920708593592ab47493de4b101.zip
[ticket/11733] Fix "Illegal offset type" Warning caused by overall feed
PHPBB3-11733
-rw-r--r--phpBB/phpbb/feed/overall.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/feed/overall.php b/phpBB/phpbb/feed/overall.php
index 869df7cde0..224d97ec03 100644
--- a/phpBB/phpbb/feed/overall.php
+++ b/phpBB/phpbb/feed/overall.php
@@ -72,7 +72,7 @@ class phpbb_feed_overall extends phpbb_feed_post_base
),
),
'WHERE' => $this->db->sql_in_set('p.topic_id', $topic_ids) . '
- AND ' . $this->content_visibility->get_visibility_sql('post', array(), 'p.') . '
+ AND ' . $this->content_visibility->get_forums_visibility_sql('post', $forum_ids, 'p.') . '
AND p.post_time >= ' . $min_post_time . '
AND u.user_id = p.poster_id',
'ORDER_BY' => 'p.post_time DESC',