summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-11-03 12:59:19 -0700
committerBrion Vibber <brion@pobox.com>2010-11-03 12:59:19 -0700
commitdc4fafbbd16adecc94fb1e3ee889689cfb786c3a (patch)
treeda353aaf51c0ce2a7540da5c08b70ba80b2b589e /lib/util.php
parentb0d79005308c30a6db2878377107643e77f0c03f (diff)
General cleanup & part of ticket #2864: use User_group->getFancyName() instead of replicating the logic in various places. Encapsulates and allows for localization of parens.
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index d50fa2081..8f2a9f173 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1010,7 +1010,7 @@ function common_group_link($sender_id, $nickname)
$attrs = array('href' => $group->permalink(),
'class' => 'url');
if (!empty($group->fullname)) {
- $attrs['title'] = $group->fullname . ' (' . $group->nickname . ')';
+ $attrs['title'] = $group->getFancyName();
}
$xs = new XMLStringer();
$xs->elementStart('span', 'vcard');