summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/noticelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 40b275a94..92a44c1c3 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);