]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
link error with notice sources
authorEvan Prodromou <evan@prodromou.name>
Fri, 12 Dec 2008 05:44:48 +0000 (00:44 -0500)
committerEvan Prodromou <evan@prodromou.name>
Fri, 12 Dec 2008 05:44:48 +0000 (00:44 -0500)
darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz

lib/noticelist.php

index 40b275a94a9cef8da56ba31a98df7074331e6a63..92a44c1c35c2b2fb386a38ff28b5f29259ed2118 100644 (file)
@@ -168,7 +168,7 @@ class NoticeListItem {
                 common_element('span', 'noticesource', $source_name);
                 break;
              default:
-                $ns = Notice_source::staticGet($source);
+                $ns = Notice_source::staticGet($this->notice->source);
                 if ($ns) {
                     common_element('a', array('href' => $ns->url),
                                    $ns->name);