[BUGFIX] Render the creator of a record in ElementInformationController
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / ContentElement / ElementInformationController.php
index c7ddcca..a054a13 100644 (file)
@@ -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>';
                 }