LSattribute::generateValue() : Used default_value paramater as a LSformat

This commit is contained in:
Benjamin Renard 2010-03-16 17:48:12 +01:00
parent 1b8bf7b250
commit c8e5977d8a

View file

@ -490,7 +490,7 @@ class LSattribute {
$value = $this -> ldapObject -> getFData($this -> config['generate_value_format']);
}
else if (is_string($this -> config['default_value']) && strlen($this -> config['default_value'])>0) {
$value = $this -> config['default_value'];
$value = $this -> ldapObject -> getFData($this -> config['default_value']);
}
if ($value!==false) {
if (!empty($value)) {