mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSformElement::valueWithUnit : sort units params before using
This commit is contained in:
parent
16d45ec203
commit
8967c6bab9
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ class LSformElement_valueWithUnit extends LSformElement {
|
|||
foreach($this -> params['html_options']['units'] as $sill => $label) {
|
||||
$units[$sill]=__($label);
|
||||
}
|
||||
krsort($units);
|
||||
return $units;
|
||||
}
|
||||
LSerror :: addErrorCode('LSformElement_valueWithUnit_01',$this -> name);
|
||||
|
|
Loading…
Reference in a new issue