summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.php b/lib/stream.php
index 4dbb99093..4001ca47b 100644
--- a/lib/stream.php
+++ b/lib/stream.php
@@ -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);