From 76396041e2444f390d692131c8b02140c290076b Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 10 Jul 2015 23:30:59 +0200 Subject: [PATCH] $notices and $notice is not the same, silly! --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;