Fix #17791 : fix at account

This commit is contained in:
lmarcouiller 2021-06-03 09:29:12 +02:00
parent aa1ade5224
commit 583acfbad4

View File

@ -165,7 +165,7 @@ if (empty($reshook)) {
}
$offsetforchartofaccount += ($conf->entity * 100000000);
$result = run_sql($sqlfile, 1, $conf->entity, 1, '', 'default', 32768, 0, $offsetforchartofaccount);
$result = run_sql($sqlfile, 0, $conf->entity, 1, '', 'default', 32768, 0, $offsetforchartofaccount);
if ($result > 0) {
setEventMessages($langs->trans("ChartLoaded"), null, 'mesgs');