]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fallback for unknown source
authorEvan Prodromou <evan@prodromou.name>
Wed, 30 Jul 2008 03:29:18 +0000 (23:29 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 30 Jul 2008 03:29:18 +0000 (23:29 -0400)
darcs-hash:20080730032918-84dde-a38f8731840e0dcc82a4ced768bf85069e15a133.gz

lib/stream.php

index 44b7b9738d1b230d5b5266b7907e31d567a1c106..4dbb99093ef93459a0a414d905b8a728eb57aad8 100644 (file)
@@ -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;
        }