Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29191 wiki - avoid one more username leak

  • Loading branch information...
commit bfe60efbb7c9d0d37a984d5a3631a905f78918da 1 parent ff6c9d2
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/wiki/pagelib.php
View
2  mod/wiki/pagelib.php
@@ -2545,7 +2545,7 @@ private function print_delete_version() {
$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

0 comments on commit bfe60ef

Please sign in to comment.
Something went wrong with that request. Please try again.