Skip to content

Commit

Permalink
MDL-29191 - Show creator's fullname instead of username
Browse files Browse the repository at this point in the history
  • Loading branch information
sunner authored and stronk7 committed Oct 16, 2011
1 parent e4784b6 commit 6b3e5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/wiki/pagelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ private function print_history_content() {
$creator = wiki_get_user_info($version0page->userid);
$a = new StdClass;
$a->date = userdate($this->page->timecreated, get_string('strftimedaydatetime', 'langconfig'));
$a->username = $creator->username;
$a->username = fullname($creator);
echo $OUTPUT->heading(get_string('createddate', 'wiki', $a), 4, 'wiki_headingtime');
if ($vcount > 0) {

Expand Down

0 comments on commit 6b3e5ab

Please sign in to comment.