]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
another attribute error
authorEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:27:38 +0000 (03:27 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:27:38 +0000 (03:27 -0400)
darcs-hash:20080915072738-84dde-377131613c91dcb353bc6aaf55bae8ce1b7f13e5.gz

lib/noticewrapper.php

index 42ebdc9f9a397d8503a9e2c78ce1ac17407dd31a..95cd7270488508d62d4893a600abc0bb0d8912f0 100644 (file)
@@ -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];