Permalink
Browse files

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

  • Loading branch information...
1 parent b629bbe commit ff6c9d2f86c891d0865890dfca41a60a1764ab1d @sunner sunner committed with stronk7 Aug 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/pagelib.php
View
@@ -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) {

0 comments on commit ff6c9d2

Please sign in to comment.