diff --git a/classes/Profile.php b/classes/Profile.php index 945d1a74ca..65758f3e36 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -824,6 +824,7 @@ class Profile extends Managed_DataObject $notices = new Notice(); $notices->profile_id = $this->id; + $notices->whereAdd("verb = '".ActivityVerb::POST."'"); $cnt = (int) $notices->count('distinct id'); if (!empty($c)) { @@ -1696,4 +1697,4 @@ class Profile extends Managed_DataObject { return $this->getUser()->getConnectedApps($offset, $limit); } -} +} \ No newline at end of file