[ticket/11733] Fix "Illegal offset type" Warning caused by overall feed

PHPBB3-11733
This commit is contained in:
Joas Schilling 2013-07-23 00:59:51 +02:00
parent 8dc8ee205a
commit 10ba1e73da

View file

@ -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',