From 6451b7ad6ad4a5c84637080156adcec2b8ad1f75 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 15 Sep 2008 03:27:38 -0400 Subject: [PATCH] another attribute error darcs-hash:20080915072738-84dde-377131613c91dcb353bc6aaf55bae8ce1b7f13e5.gz --- lib/noticewrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php index 42ebdc9f9a..95cd727048 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];