Fixed parse_url() expects parameter 1 to be string, null given

This commit is contained in:
snipe 2018-12-12 16:37:27 -08:00
parent 28edf13457
commit 6a6923b1d8

View file

@ -92,7 +92,7 @@ class LdapAdConfiguration
}
}
if ('ldap_server' === $key) {
if (($item) && ('ldap_server' === $key)) {
return collect(parse_url($item));
}