mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue