fixed: Wiki page history shows username instead of alias

This commit is contained in:
Graham Knop 2008-03-19 18:11:29 +00:00
parent 04b1052276
commit 4a326b2b40
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
- fixed: HttpProxy mixes original site's content encoding with WebGUI's
- fixed: Thingy i18n has an empty message
- fixed: Thingy has no icon
- fixed: Wiki page history shows username instead of alias
7.5.6
- fixed: events get start/end time even when none specified (also can offset start/end day)

View file

@ -385,7 +385,7 @@ sub www_getHistory {
.$icon->edit('func=edit;revision='.$revision->get("revisionDate"), $revision->get("url"))
.$icon->view('func=view;revision='.$revision->get("revisionDate"), $revision->get("url")),
date => $date->epochToHuman($revision->get("revisionDate")),
username => $user->username,
username => $user->profileField('alias') || $user->username,
actionTaken => $revision->get("actionTaken"),
interval => join(" ", $date->secondsToInterval(time() - $revision->get("revisionDate")))
});