summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/noticewrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php
index 42ebdc9f9..95cd72704 100644
--- a/lib/noticewrapper.php
+++ b/lib/noticewrapper.php
@@ -44,7 +44,7 @@ class NoticeWrapper {
static $fields = array('id', 'profile_id', 'uri', 'content', 'rendered',
'url', 'created', 'modified', 'reply_to', 'is_local', 'source');
$this->i++;
- if ($this->i >= count($notices)) {
+ if ($this->i >= count($this->notices)) {
return false;
} else {
$n = $this->notices[$this->i];