From: Evan Prodromou Date: Mon, 15 Sep 2008 07:25:53 +0000 (-0400) Subject: misused instance attribute in noticewrapper X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4bd2c2ad72e61868a201d7ac58db9a0d7ce4a59f;p=quix0rs-gnu-social.git misused instance attribute in noticewrapper darcs-hash:20080915072553-84dde-6de01a486dfcf3440643584d1f698fe1b188f351.gz --- 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; }