]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
$notices and $notice is not the same, silly!
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 10 Jul 2015 21:30:59 +0000 (23:30 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 10 Jul 2015 21:30:59 +0000 (23:30 +0200)
classes/Notice.php

index 5fefa6c4ef5a958190d166bb5787ba46eaf6505e..ae722138b33b91b4a7652dfed5ecb6330c104d55 100644 (file)
@@ -1230,7 +1230,7 @@ class Notice extends Managed_DataObject
         }
 
         $stream = new ConversationNoticeStream($this->conversation);
-        $notices = $stream->getNotices(/*offset*/ 1, /*limit*/ 1);
+        $notice = $stream->getNotices(/*offset*/ 1, /*limit*/ 1);
 
         // if our "offset 1, limit 1" query got a result, return true else false
         return $notice->N > 0;