summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/favoritesrss.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/actions/favoritesrss.php b/actions/favoritesrss.php
index 553d28c00..25dd3861f 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);
}