From ab1f2ff9d07088c7a3607ee6d05b1042d735960d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 22 Jul 2008 10:41:54 -0400 Subject: every user is subscribed to themselves darcs-hash:20080722144154-84dde-80beabad9a681f2e12edb34ceb4ac249f4ce6705.gz --- actions/showstream.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actions/showstream.php') diff --git a/actions/showstream.php b/actions/showstream.php index bccdd3cc8..87858e14b 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -205,6 +205,8 @@ class ShowstreamAction extends StreamAction { $subs = DB_DataObject::factory('subscription'); $subs->subscriber = $profile->id; + $subs->whereAdd('subscribed != ' . $profile->id); + $subs->orderBy('created DESC'); # We ask for an extra one to know if we need to do another page -- cgit v1.2.3-54-g00ecf