From 793d48dc9e1d73d871bf34d9f7c1da8916134d1b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 21:55:51 -0400 Subject: smaller packet darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz --- actions/all.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/all.php') diff --git a/actions/all.php b/actions/all.php index 949c72275..92ae385ca 100644 --- a/actions/all.php +++ b/actions/all.php @@ -31,7 +31,7 @@ class AllAction extends ShowstreamAction { # XXX: chokety and bad - $notice->whereAdd('EXISTS (SELECT subscribed from subscription where subscriber = '.$profile->id.')', 'OR'); + $notice->whereAdd('EXISTS (SELECT subscribed from subscription where subscriber = '.$profile->id.' and subscribed = notice.profile_id)', 'OR'); $notice->whereAdd('profile_id = ' . $profile->id, 'OR'); $notice->orderBy('created DESC'); -- cgit v1.2.3-54-g00ecf