]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
misused instance attribute in noticewrapper
authorEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:25:53 +0000 (03:25 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:25:53 +0000 (03:25 -0400)
darcs-hash:20080915072553-84dde-6de01a486dfcf3440643584d1f698fe1b188f351.gz

lib/noticewrapper.php

index 0d65f1da028c6344af9fd5121a5b695f31dc30f1..42ebdc9f9a397d8503a9e2c78ce1ac17407dd31a 100644 (file)
@@ -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;
                        }