diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index 0a378a36..58df91a2 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -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); }