misused instance attribute in noticewrapper

darcs-hash:20080915072553-84dde-6de01a486dfcf3440643584d1f698fe1b188f351.gz
This commit is contained in:
Evan Prodromou 2008-09-15 03:25:53 -04:00
parent 7334add156
commit 4bd2c2ad72

View File

@ -47,7 +47,7 @@ class NoticeWrapper {
if ($this->i >= count($notices)) { if ($this->i >= count($notices)) {
return false; return false;
} else { } else {
$n = $notices[$this->i]; $n = $this->notices[$this->i];
foreach ($fields as $f) { foreach ($fields as $f) {
$this->$f = $n->$f; $this->$f = $n->$f;
} }