summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-12 10:06:24 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-12 10:06:24 -0700
commit961bc3b18571b5f3ad2a355b71d40c4830dd44ba (patch)
treec5a8cfcbfafbe745b14dc3ad4c54e4572922ef69 /modules
parent0bb489b69438266359bfd22955f4d5c8f9d6ade3 (diff)
Use user::display_name() in another case where it was missing.
Diffstat (limited to 'modules')
-rw-r--r--modules/info/helpers/info_theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/helpers/info_theme.php b/modules/info/helpers/info_theme.php
index e5f9c909..4bf894ad 100644
--- a/modules/info/helpers/info_theme.php
+++ b/modules/info/helpers/info_theme.php
@@ -42,7 +42,7 @@ class info_theme_Core {
array("owner_name" => $item->owner->display_name(),
"owner_url" => $item->owner->url));
} else {
- $results .= t("By: %owner_name", array("owner_name" => "{$item->owner->full_name}"));
+ $results .= t("By: %owner_name", array("owner_name" => $item->owner->display_name()));
}
$results .= "</li>";
}