From: Brion Vibber Date: Thu, 4 Mar 2010 00:38:51 +0000 (-0800) Subject: Fix notice warning in RSS friends timeline X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8436306d2872db2d1a50fdaef3cc1f2c8fb0d114;p=quix0rs-gnu-social.git Fix notice warning in RSS friends timeline --- diff --git a/actions/allrss.php b/actions/allrss.php index 28b1be27d8..01e737ad7b 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();