another attribute error

darcs-hash:20080915072738-84dde-377131613c91dcb353bc6aaf55bae8ce1b7f13e5.gz
This commit is contained in:
Evan Prodromou 2008-09-15 03:27:38 -04:00
parent 4bd2c2ad72
commit 6451b7ad6a
1 changed files with 1 additions and 1 deletions

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