diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-29 17:35:56 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-29 17:35:56 -0700 |
commit | 2473418ea3156e75d10afe9d9e10b7a974f2c6dc (patch) | |
tree | 1dcfcdbf15518339cb4f507338547300fb1d944a /modules | |
parent | 15f148349e8dd9145d33fbdbc85142b9a864b6ed (diff) |
Show the author's username if the author has no fullname. Fixes ticket #601.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/models/comment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/models/comment.php b/modules/comment/models/comment.php index 551fb245..d052a39c 100644 --- a/modules/comment/models/comment.php +++ b/modules/comment/models/comment.php @@ -31,7 +31,7 @@ class Comment_Model extends ORM { if ($author->guest) { return $this->guest_name; } else { - return $author->full_name; + return $author->display_name(); } } |