From dfe947885cba371b336f28316a3e7a9f4c84a68e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 12 Mar 2020 12:40:28 +0100 Subject: [PATCH] FIX params of setEventMessage($langs->trans('ErrorProductClone')... --- htdocs/product/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index e80ea9e6984..01da1eb741f 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -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; }