LDAP: avoid attempts to save null as configvalue
This commit is contained in:
parent
0b98dc30b2
commit
1a854454d6
|
@ -341,10 +341,9 @@ ingle parameters
|
|||
case 'ldapUuidAttribute':
|
||||
case 'hasPagedResultSupport':
|
||||
continue 2;
|
||||
default:
|
||||
if(is_null($value)) {
|
||||
$value = 0;
|
||||
}
|
||||
}
|
||||
if(is_null($value)) {
|
||||
$value = '';
|
||||
}
|
||||
|
||||
$this->setValue($trans[$key], $value);
|
||||
|
|
Loading…
Reference in New Issue