MDL-29191 wiki - avoid one more username leak

This commit is contained in:
Eloy Lafuente (stronk7)
2011-10-16 19:01:57 +02:00
parent c2dc95003e
commit 1e42eedbad
+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