Skip to content

Commit 704aefc

Browse files
authored
[6.0] atum error page replace deprecated getUser (#45798)
1 parent 89685dd commit 704aefc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/templates/atum/error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/** @var \Joomla\CMS\Document\ErrorDocument $this */
1616

1717
// Authenticated versus guest have different displays
18-
$user = Factory::getUser();
18+
$user = Factory::getApplication()->getIdentity();
1919

2020
if ($user->guest) {
2121
require __DIR__ . '/error_login.php';

0 commit comments

Comments
 (0)