Fix computed import

This commit is contained in:
jcp 2020-11-03 18:43:03 +01:00
parent 2cdbfa2048
commit bae05bbe7d
2 changed files with 2 additions and 0 deletions

View File

@ -645,6 +645,7 @@ class ImportCsv extends ModeleImports
$errorforthistable++; $errorforthistable++;
$error++; $error++;
} }
else $newval = $arrayrecord[($key - 1)]['val']; //We get new value computed.
} }
elseif ($objimport->array_import_convertvalue[0][$val]['rule'] == 'numeric') elseif ($objimport->array_import_convertvalue[0][$val]['rule'] == 'numeric')
{ {

View File

@ -672,6 +672,7 @@ class ImportXlsx extends ModeleImports
$errorforthistable++; $errorforthistable++;
$error++; $error++;
} }
else $newval = $arrayrecord[($key - 1)]['val']; //We get new value computed.
} }
elseif ($objimport->array_import_convertvalue[0][$val]['rule'] == 'numeric') elseif ($objimport->array_import_convertvalue[0][$val]['rule'] == 'numeric')
{ {