LDAP: avoid attempts to save null as configvalue

remotes/origin/stable5
Arthur Schiwon 12 years ago
parent 0b98dc30b2
commit 1a854454d6
  1. 7
      apps/user_ldap/lib/connection.php

@ -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…
Cancel
Save