Merge pull request #15280 from prietojc/12.0

Fix computed import
This commit is contained in:
Laurent Destailleur 2020-11-04 18:49:17 +01:00 committed by GitHub
commit e505586926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

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

View File

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