Skip to content

Commit 48b0cff

Browse files
authored
[6.0] contact icon deprecated getUser (#45797)
1 parent 7faf4e2 commit 48b0cff

File tree

1 file changed

+1
-1
lines changed
  • administrator/components/com_contact/src/Service/HTML

1 file changed

+1
-1
lines changed

administrator/components/com_contact/src/Service/HTML/Icon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function create($category, $params, $attribs = [])
100100
*/
101101
public function edit($contact, $params, $attribs = [], $legacy = false)
102102
{
103-
$user = Factory::getUser();
103+
$user = Factory::getApplication()->getIdentity();
104104
$uri = Uri::getInstance();
105105

106106
// Ignore if in a popup window.

0 commit comments

Comments
 (0)