link error with notice sources

darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz
This commit is contained in:
Evan Prodromou 2008-12-12 00:44:48 -05:00
parent 9855fc003b
commit 816f87fd27

View 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);