summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/noticewrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php
index 0d65f1da0..42ebdc9f9 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;
}