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);
|
||||
break;
|
||||
default:
|
||||
$ns = new Notice_source($source);
|
||||
$ns = Notice_source::staticGet($source);
|
||||
if ($ns) {
|
||||
common_element('a', array('href' => $ns->url),
|
||||
$ns->name);
|
||||
|
|
Loading…
Reference in New Issue
Block a user