From: hannes Date: Tue, 5 Jan 2016 23:29:48 +0000 (+0000) Subject: $notices->verb = ActivityVerb::POST; X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=32549cfd8c747ab82f8979d8f180d5290b27c064;p=quix0rs-gnu-social.git $notices->verb = ActivityVerb::POST; --- diff --git a/classes/Profile.php b/classes/Profile.php index 65758f3e36..620772b0a4 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -824,7 +824,7 @@ class Profile extends Managed_DataObject $notices = new Notice(); $notices->profile_id = $this->id; - $notices->whereAdd("verb = '".ActivityVerb::POST."'"); + $notices->verb = ActivityVerb::POST; $cnt = (int) $notices->count('distinct id'); if (!empty($c)) {