summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-03 16:38:51 -0800
committerBrion Vibber <brion@pobox.com>2010-03-03 16:38:51 -0800
commit8436306d2872db2d1a50fdaef3cc1f2c8fb0d114 (patch)
tree3918df140ba1788d3bdc45153a88931f4313a1c0
parent9fadf8da1164d620284917b829329e195aa2a226 (diff)
Fix notice warning in RSS friends timeline
-rw-r--r--actions/allrss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/allrss.php b/actions/allrss.php
index 28b1be27d..01e737ad7 100644
--- a/actions/allrss.php
+++ b/actions/allrss.php
@@ -83,6 +83,7 @@ class AllrssAction extends Rss10Action
function getNotices($limit=0)
{
$cur = common_current_user();
+ $user = $this->user;
if (!empty($cur) && $cur->id == $user->id) {
$notice = $this->user->noticeInbox(0, $limit);
@@ -90,7 +91,6 @@ class AllrssAction extends Rss10Action
$notice = $this->user->noticesWithFriends(0, $limit);
}
- $user = $this->user;
$notice = $user->noticesWithFriends(0, $limit);
$notices = array();