summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-15 03:27:38 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-15 03:27:38 -0400
commit6451b7ad6ad4a5c84637080156adcec2b8ad1f75 (patch)
tree890f48109be41a3a3c3180e1e7f376136cf46990 /lib
parent4bd2c2ad72e61868a201d7ac58db9a0d7ce4a59f (diff)
another attribute error
darcs-hash:20080915072738-84dde-377131613c91dcb353bc6aaf55bae8ce1b7f13e5.gz
Diffstat (limited to 'lib')
-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];