mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-17 15:29:55 -04:00
Show the author's username if the author has no fullname. Fixes ticket #601.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user