diff --git a/app/Models/LdapAdConfiguration.php b/app/Models/LdapAdConfiguration.php index eed0357fc2..ffb4c2f44e 100644 --- a/app/Models/LdapAdConfiguration.php +++ b/app/Models/LdapAdConfiguration.php @@ -92,7 +92,7 @@ class LdapAdConfiguration } } - if ('ldap_server' === $key) { + if (($item) && ('ldap_server' === $key)) { return collect(parse_url($item)); }