X-Git-Url: http://git.labs.libre-entreprise.org/?p=ldapsaisie.git;a=blobdiff_plain;f=public_html%2Fincludes%2Fclass%2Fclass.LSformElement_valueWithUnit.php;h=71bba0ca889d950c6eca31a113ebb96548dd7c97;hp=50ef1b1754eb3feb498ae1bd4772493fc264f432;hb=8967c6bab94e204196f0efa4cb1f10892a3a8431;hpb=16d45ec203794802e4b4f5fe8181afe291dd0782 diff --git a/public_html/includes/class/class.LSformElement_valueWithUnit.php b/public_html/includes/class/class.LSformElement_valueWithUnit.php index 50ef1b1..71bba0c 100644 --- a/public_html/includes/class/class.LSformElement_valueWithUnit.php +++ b/public_html/includes/class/class.LSformElement_valueWithUnit.php @@ -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);