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: Mathias Brodala's avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
parent 3090989d
......@@ -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>';
}
......
Supports Markdown
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