diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/all.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/all.php b/actions/all.php index f74b3ff9c..949c72275 100644 --- a/actions/all.php +++ b/actions/all.php @@ -30,9 +30,9 @@ class AllAction extends ShowstreamAction { $notice = DB_DataObject::factory('notice'); # XXX: chokety and bad - - $notice->whereAdd('EXISTS (SELECT subscribed from subscription where subscriber = {$profile->id})', 'OR'); - $notice->whereAdd('profile_id = {$profile->id}', 'OR'); + + $notice->whereAdd('EXISTS (SELECT subscribed from subscription where subscriber = '.$profile->id.')', 'OR'); + $notice->whereAdd('profile_id = ' . $profile->id, 'OR'); $notice->orderBy('created DESC'); |