Show the author's username if the author has no fullname. Fixes ticket #601.

This commit is contained in:
Bharat Mediratta
2009-07-29 17:35:56 -07:00
parent 15f148349e
commit 2473418ea3

View File

@@ -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();
}
}