summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-29 23:29:18 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-29 23:29:18 -0400
commit025a8e55267b62e05a9d4cb4ee43558d07eeab3f (patch)
treea92a38c536a6b47eefd89b760b5623c174ded624
parent2090e0aa78daea617c605239a9cb1aaddfcf3228 (diff)
fallback for unknown source
darcs-hash:20080730032918-84dde-a38f8731840e0dcc82a4ced768bf85069e15a133.gz
-rw-r--r--lib/stream.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stream.php b/lib/stream.php
index 44b7b9738..4dbb99093 100644
--- a/lib/stream.php
+++ b/lib/stream.php
@@ -151,7 +151,10 @@ class StreamAction extends Action {
if ($ns) {
common_element('a', array('href' => $ns->url),
$ns->name);
+ } else {
+ common_element('span', 'noticesource', $source_name);
}
+ break;
}
return;
}