summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-29 23:33:04 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-29 23:33:04 -0400
commite65bf0a25028d4aae4a8c6b33750aacaa4e182a8 (patch)
treeb2c1588f333ac9d5823b005508548e8ffb5a1cd6
parent025a8e55267b62e05a9d4cb4ee43558d07eeab3f (diff)
new -> staticGet
darcs-hash:20080730033304-84dde-159bd4582731d2adfb8b7306ee6eb44ce25d256a.gz
-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);