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; }