Skip to content
Snippets Groups Projects
Commit 24b81344 authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

correctif d'une coquille engendrant un warning

parent cc01bf7a
No related branches found
No related tags found
No related merge requests found
Pipeline #24806 passed
...@@ -138,7 +138,7 @@ class UserContext extends AbstractService implements EventManagerAwareInterface ...@@ -138,7 +138,7 @@ class UserContext extends AbstractService implements EventManagerAwareInterface
return $user->getUsername(); return $user->getUsername();
} }
if ($user = $this->getLdapUser()) { if ($user = $this->getLdapUser()) {
return $user->getUsername($this->usenamefield); return $user->getUsername($this->usernamefield);
} }
if ($user = $this->getDbUser()) { if ($user = $this->getDbUser()) {
return $user->getUsername(); return $user->getUsername();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment