MDL-29191 wiki - avoid one more username leak

This commit is contained in:
Eloy Lafuente (stronk7)
2011-10-16 19:03:19 +02:00
parent 6b3e5ab959
commit 140af2a0f0
+1 -1
View File
@@ -2545,7 +2545,7 @@ class page_wiki_admin 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 ($versioncount > 0) {
/// If there is only one version, we don't need radios nor forms