new -> staticGet

darcs-hash:20080730033304-84dde-159bd4582731d2adfb8b7306ee6eb44ce25d256a.gz
This commit is contained in:
Evan Prodromou 2008-07-29 23:33:04 -04:00
parent 025a8e5526
commit e65bf0a250
1 changed files with 1 additions and 1 deletions

View File

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