forked from GNUsocial/gnu-social
new -> staticGet
darcs-hash:20080730033304-84dde-159bd4582731d2adfb8b7306ee6eb44ce25d256a.gz
This commit is contained in:
parent
025a8e5526
commit
e65bf0a250
|
@ -147,7 +147,7 @@ class StreamAction extends Action {
|
||||||
common_element('span', 'noticesource', $source_name);
|
common_element('span', 'noticesource', $source_name);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$ns = new Notice_source($source);
|
$ns = Notice_source::staticGet($source);
|
||||||
if ($ns) {
|
if ($ns) {
|
||||||
common_element('a', array('href' => $ns->url),
|
common_element('a', array('href' => $ns->url),
|
||||||
$ns->name);
|
$ns->name);
|
||||||
|
|
Loading…
Reference in New Issue