Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
This commit is contained in:
commit
e7c05f744b
1 changed files with 7 additions and 0 deletions
|
|
@ -1924,6 +1924,13 @@ if ($step == 5 && $datatoimport) {
|
|||
$nbok++;
|
||||
}
|
||||
}
|
||||
|
||||
$reshook = $hookmanager->executeHooks('AfterImportInsert', $parameters);
|
||||
if ($reshook < 0) {
|
||||
$arrayoferrors[$sourcelinenb][] = [
|
||||
'lib' => implode("<br>", array_merge([$hookmanager->error], $hookmanager->errors))
|
||||
];
|
||||
}
|
||||
}
|
||||
// Close file
|
||||
$obj->import_close_file();
|
||||
|
|
|
|||
Loading…
Reference in a new issue