Commit 926e9703 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Correctyion de bug empêchant d'utiliser des users créés directement en BDD

parent bbe93664
...@@ -68,7 +68,7 @@ abstract class UserAbstract extends AbstractTranslatorHelper ...@@ -68,7 +68,7 @@ abstract class UserAbstract extends AbstractTranslatorHelper
} }
$found = null; $found = null;
foreach ($keys as $key) { foreach ($keys as $key) {
if (array_key_exists($key, $identity)) { if (array_key_exists($key, $identity) && $identity[$key] !== null) {
$found = $identity[$key]; $found = $identity[$key];
break; break;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment