MDL-29191 - Show creator's fullname instead of username
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
e4784b616a
commit
6b3e5ab959
@@ -1218,7 +1218,7 @@ class page_wiki_history extends page_wiki {
|
||||
$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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user