summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-12 00:44:48 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-12 00:44:48 -0500
commit816f87fd27ea7dbac291c8394f8b4ad0f9974f87 (patch)
tree4e8a2180bbf7bb6b4c13d6fd43f29b27f2d832af
parent9855fc003bde26621c0ca06e7ec296e5e02bf5fc (diff)
link error with notice sources
darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz
-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);