$notices and $notice is not the same, silly!

This commit is contained in:
Mikael Nordfeldth 2015-07-10 23:30:59 +02:00
parent 64fbc93217
commit 76396041e2

View 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;