FIX params of setEventMessage($langs->trans('ErrorProductClone')...

This commit is contained in:
Laurent Destailleur 2020-03-12 12:40:28 +01:00
parent ad22820872
commit dfe947885c

View File

@ -545,7 +545,7 @@ if (empty($reshook))
if ($result < 1)
{
$db->rollback();
setEventMessage($langs->trans('ErrorProductClone'), null, 'errors');
setEventMessages($langs->trans('ErrorProductClone'), null, 'errors');
header("Location: ".$_SERVER["PHP_SELF"]."?id=".$originalId);
exit;
}