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 'ldapUuidAttribute':
|
||||||
case 'hasPagedResultSupport':
|
case 'hasPagedResultSupport':
|
||||||
continue 2;
|
continue 2;
|
||||||
default:
|
}
|
||||||
if(is_null($value)) {
|
if(is_null($value)) {
|
||||||
$value = 0;
|
$value = '';
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->setValue($trans[$key], $value);
|
$this->setValue($trans[$key], $value);
|
||||||
|
|
Loading…
Reference in New Issue