This commit is contained in:
atm-lena 2022-09-15 11:57:02 +02:00
parent 1c14c61064
commit 91bde420d4

View File

@ -420,7 +420,7 @@ class CUnits // extends CommonObject
* Get unit from code
* @param string $code code of unit
* @param string $mode 0= id , short_label=Use short label as value, code=use code
* @param string $unit_type weight,size,surface,volume,qty,time...
* @param string $unit_type weight,size,surface,volume,qty,time...
* @return int <0 if KO, Id of code if OK
*/
public function getUnitFromCode($code, $mode = 'code', $unit_type = '')