From 4bd2c2ad72e61868a201d7ac58db9a0d7ce4a59f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 15 Sep 2008 03:25:53 -0400 Subject: [PATCH] misused instance attribute in noticewrapper darcs-hash:20080915072553-84dde-6de01a486dfcf3440643584d1f698fe1b188f351.gz --- lib/noticewrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php index 0d65f1da02..42ebdc9f9a 100644 --- a/lib/noticewrapper.php +++ b/lib/noticewrapper.php @@ -47,7 +47,7 @@ class NoticeWrapper { if ($this->i >= count($notices)) { return false; } else { - $n = $notices[$this->i]; + $n = $this->notices[$this->i]; foreach ($fields as $f) { $this->$f = $n->$f; }