From 816f87fd27ea7dbac291c8394f8b4ad0f9974f87 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 12 Dec 2008 00:44:48 -0500 Subject: [PATCH] link error with notice sources darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz --- lib/noticelist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);