generate_lang_file.php : remove check on html_type to handle units of valueWithUnit...
[ldapsaisie.git] / public_html / lang / generate_lang_file.php
index 0a378a3..58df91a 100755 (executable)
@@ -196,7 +196,7 @@ if (loadDir(LS_OBJECTS_DIR) && loadDir(LS_LOCAL_DIR.LS_OBJECTS_DIR)) {
         }
 
         // LSattr_html_valueWithUnit
-        if ($attr['html_type']=='valueWithUnit' && is_array($attr['html_options']['units'])) {
+        if (is_array($attr['html_options']['units'])) {
           foreach($attr['html_options']['units'] as $pname) {
             add($pname);
           }