Skip to content
Snippets Groups Projects
Commit a3d8b52a authored by Georg Ringer's avatar Georg Ringer Committed by Markus Klein
Browse files

[BUGFIX] Render the creator of a record in ElementInformationController

The ElementInformationController must show the creator user and not
the current one.

Resolves: #76461
Releases: master, 7.6
Change-Id: Ibeae9970783aa6d0fc3b0e190956140c872a9ac9
Reviewed-on: https://review.typo3.org/48456


Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent 3090989d
Branches
Tags
No related merge requests found
......@@ -391,8 +391,8 @@ class ElementInformationController
' . $icon . '
</div>
<div class="media-body">
<strong>' . htmlspecialchars($GLOBALS['BE_USER']->user['username']) . '</strong><br>
' . ($GLOBALS['BE_USER']->user['realName'] ? htmlspecialchars($GLOBALS['BE_USER']->user['realName']) : '') . '
<strong>' . htmlspecialchars($creatorRecord['username']) . '</strong><br>
' . ($creatorRecord['realName'] ? htmlspecialchars($creatorRecord['realName']) : '') . '
</div>
</div>';
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment