mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 13:14:07 -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