FIX: Show error when clone order fail (#39382)
* FIX: Show error when clone order fail * Fix missing variable * Fix foreach loop to reference correct object Updated foreach loop to use the correct object reference for lines. --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
f45d71a4b1
commit
6dfc8de4b5
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ if (empty($reshook)) {
|
|||
header("Location: ".$_SERVER['PHP_SELF'].'?id='.$result);
|
||||
exit;
|
||||
} else {
|
||||
setEventMessages($object->error, $object->errors, 'errors');
|
||||
setEventMessages($objectutil->error, $objectutil->errors, 'errors');
|
||||
$action = '';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue