Permalink
Browse files

MDL-29191 - Show creator's fullname instead of username

  • Loading branch information...
1 parent 263c528 commit c38cfee97b04466aa736a637fadf9e4bde3a6c5b @sunner sunner committed Aug 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/pagelib.php
View
@@ -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) {

0 comments on commit c38cfee

Please sign in to comment.