FIX params of setEventMessage($langs->trans('ErrorProductClone')...
This commit is contained in:
parent
ad22820872
commit
dfe947885c
@ -545,7 +545,7 @@ if (empty($reshook))
|
|||||||
if ($result < 1)
|
if ($result < 1)
|
||||||
{
|
{
|
||||||
$db->rollback();
|
$db->rollback();
|
||||||
setEventMessage($langs->trans('ErrorProductClone'), null, 'errors');
|
setEventMessages($langs->trans('ErrorProductClone'), null, 'errors');
|
||||||
header("Location: ".$_SERVER["PHP_SELF"]."?id=".$originalId);
|
header("Location: ".$_SERVER["PHP_SELF"]."?id=".$originalId);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user