LDAP: avoid attempts to save null as configvalue

This commit is contained in:
Arthur Schiwon 2013-01-31 02:00:29 +01:00
parent 0b98dc30b2
commit 1a854454d6
1 changed files with 3 additions and 4 deletions

View File

@ -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);