summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-08-05 11:02:53 -0700
committerBrion Vibber <brion@status.net>2010-08-05 11:02:53 -0700
commit433c43c99986f04b3bbe04cee7426f1248e1e96e (patch)
tree11a52241382ef7da8ff60f04e203640d414979c1 /lib
parentb17fc0ca5b90d2cdc957ebc4870fbd2791b9e1b9 (diff)
parent77a96e3d7cecd5fd61ad72b698a15a8a3c7b0940 (diff)
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'lib')
-rw-r--r--lib/noticelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 17adf3a49..252e1ca90 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -499,7 +499,7 @@ class NoticeListItem extends Widget
$ns = $this->notice->getSource();
if ($ns) {
- $source_name = _($ns->code);
+ $source_name = (empty($ns->name)) ? _($ns->code) : _($ns->name);
$this->out->text(' ');
$this->out->elementStart('span', 'source');
$this->out->text(_('from'));