From: Evan Prodromou Date: Fri, 12 Dec 2008 05:44:48 +0000 (-0500) Subject: link error with notice sources X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=816f87fd27ea7dbac291c8394f8b4ad0f9974f87;p=quix0rs-gnu-social.git link error with notice sources darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz --- diff --git a/lib/noticelist.php b/lib/noticelist.php index 40b275a94a..92a44c1c35 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -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);