From: Mikael Nordfeldth Date: Fri, 10 Jul 2015 21:30:59 +0000 (+0200) Subject: $notices and $notice is not the same, silly! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=76396041e2444f390d692131c8b02140c290076b;p=quix0rs-gnu-social.git $notices and $notice is not the same, silly! --- diff --git a/classes/Notice.php b/classes/Notice.php index 5fefa6c4ef..ae722138b3 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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;