Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit c38cfee97b04466aa736a637fadf9e4bde3a6c5b 1 parent 263c528
@sunner sunner authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/wiki/pagelib.php
View
2  mod/wiki/pagelib.php
@@ -1218,7 +1218,7 @@ private function print_history_content() {
$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) {
Please sign in to comment.
Something went wrong with that request. Please try again.