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

This commit is contained in:
Sun Zhigang
2011-10-16 18:52:35 +02:00
committed by Eloy Lafuente (stronk7)
parent e4784b616a
commit 6b3e5ab959
+1 -1
View File
@@ -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) {