diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-22 07:48:39 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-22 07:48:39 -0400 |
commit | b2903983bdabf0681d37942bf9b09363f07229c6 (patch) | |
tree | 7cb3bebfb8f48fd4ac5b33efa671b15f961951f6 /actions/allrss.php | |
parent | 735b8ddc676cc7d85ca4256994755e61ea6023a1 (diff) |
fix query and description for allrss
darcs-hash:20080522114839-84dde-bdf5f244766b198932a068d6c80a667943a03f54.gz
Diffstat (limited to 'actions/allrss.php')
-rw-r--r-- | actions/allrss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/allrss.php b/actions/allrss.php index 7aab423b2..081360a59 100644 --- a/actions/allrss.php +++ b/actions/allrss.php @@ -46,7 +46,7 @@ class AllrssAction extends Rss10Action { $notice = DB_DataObject::factory('notice'); - $notice->whereAdd('EXISTS (SELECT subscribed from subscription where subscriber = '.$profile->id.' and subscribed = notice.profile_id)', 'OR'); + $notice->whereAdd('EXISTS (SELECT subscribed from subscription where subscriber = '.$user->id.' and subscribed = notice.profile_id)', 'OR'); $notice->whereAdd('profile_id = ' . $user->id, 'OR'); $notice->orderBy('created DESC'); @@ -71,7 +71,7 @@ class AllrssAction extends Rss10Action { 'link' => common_local_url('all', array('nickname' => $user->nickname)), - 'description' => _t('Microblog feed for ') . $user->nickname); + 'description' => _t('Feed for friends of ') . $user->nickname); return $c; } |