fallback for unknown source

darcs-hash:20080730032918-84dde-a38f8731840e0dcc82a4ced768bf85069e15a133.gz
This commit is contained in:
Evan Prodromou 2008-07-29 23:29:18 -04:00
parent 2090e0aa78
commit 025a8e5526

View File

@ -151,7 +151,10 @@ class StreamAction extends Action {
if ($ns) { if ($ns) {
common_element('a', array('href' => $ns->url), common_element('a', array('href' => $ns->url),
$ns->name); $ns->name);
} else {
common_element('span', 'noticesource', $source_name);
} }
break;
} }
return; return;
} }