diff --git a/actions/favoritesrss.php b/actions/favoritesrss.php index 553d28c00e..25dd3861fa 100644 --- a/actions/favoritesrss.php +++ b/actions/favoritesrss.php @@ -40,11 +40,13 @@ class FavoritesrssAction extends Rss10Action { } function get_notices($limit=0) { - + $user = $this->user; - + $notice = $user->favoriteNotices(0, $limit); - + + $notices = array(); + while ($notice->fetch()) { $notices[] = clone($notice); }