MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND is always overriden
This commit is contained in:
parent
fb6819764d
commit
b6b422042c
@ -2050,7 +2050,7 @@ abstract class CommonObject
|
|||||||
|
|
||||||
$forcedroundingmode=$roundingadjust;
|
$forcedroundingmode=$roundingadjust;
|
||||||
if ($forcedroundingmode == 'auto' && isset($conf->global->MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND)) $forcedroundingmode=$conf->global->MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND;
|
if ($forcedroundingmode == 'auto' && isset($conf->global->MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND)) $forcedroundingmode=$conf->global->MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND;
|
||||||
if ($forcedroundingmode == 'auto') $forcedroundingmode='0';
|
elseif ($forcedroundingmode == 'auto') $forcedroundingmode='0';
|
||||||
|
|
||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user