]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
$notices->verb = ActivityVerb::POST;
[quix0rs-gnu-social.git] / classes / Profile.php
index 65758f3e3615a21ce9ee9ad1d8a50f72510209c4..620772b0a409178dfd55e59b8c5d797eb20907cf 100644 (file)
@@ -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)) {