mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed parse_url() expects parameter 1 to be string, null given
This commit is contained in:
parent
28edf13457
commit
6a6923b1d8
|
@ -92,7 +92,7 @@ class LdapAdConfiguration
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('ldap_server' === $key) {
|
if (($item) && ('ldap_server' === $key)) {
|
||||||
return collect(parse_url($item));
|
return collect(parse_url($item));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue