forked from GNUsocial/gnu-social
link error with notice sources
darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz
This commit is contained in:
parent
9855fc003b
commit
816f87fd27
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user