MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND is always overriden

This commit is contained in:
Paris Liakos 2015-12-29 03:43:49 +02:00
parent fb6819764d
commit b6b422042c

View File

@ -2050,7 +2050,7 @@ abstract class CommonObject
$forcedroundingmode=$roundingadjust;
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;