mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
generate_lang_file.php : remove check on html_type to handle units of valueWithUnit form element to permit to handle children classes
This commit is contained in:
parent
3d2ab8127d
commit
be52119506
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue