X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/ac82424b6b1631f6b224d171a97d48d57be842b9..23944f72bf54cef447e2034434e1c5df303f3083:/Repository/UserRepository.php?ds=inline diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index 85dad14..6cb6cc3 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -32,7 +32,7 @@ class UserRepository extends Repository implements PasswordUpgraderInterface { //Set the request $req = <<translator->trans($data['g_title'], [], $this->alias); + $group = $this->translator->trans($data['g_title']?:'Null', [], $this->alias); //Init group subarray if (!isset($ret[$group])) {