X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/ac82424b6b1631f6b224d171a97d48d57be842b9..147361137a871795a8b0293d1c1e7927f9ba3567:/Repository/UserRepository.php 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])) {