From c8e5977d8abc199549f2e6b4c428fcf4cb474bb3 Mon Sep 17 00:00:00 2001 From: bn8 Date: Tue, 16 Mar 2010 17:48:12 +0100 Subject: [PATCH] LSattribute::generateValue() : Used default_value paramater as a LSformat --- public_html/includes/class/class.LSattribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSattribute.php b/public_html/includes/class/class.LSattribute.php index 13410077..e6fd4a10 100644 --- a/public_html/includes/class/class.LSattribute.php +++ b/public_html/includes/class/class.LSattribute.php @@ -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)) {