diff --git a/actions/all.php b/actions/all.php index f74b3ff9c0..949c722750 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');