Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show the author's username if the author has no fullname. Fixes ticke…
…t #601.
  • Loading branch information
bharat committed Jul 30, 2009
1 parent 15f1483 commit 2473418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/comment/models/comment.php
Expand Up @@ -31,7 +31,7 @@ function author_name() {
if ($author->guest) {
return $this->guest_name;
} else {
return $author->full_name;
return $author->display_name();
}
}

Expand Down

0 comments on commit 2473418

Please sign in to comment.