From fdc90da408b8a8c25105052f57a800c1b194b084 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Jun 2018 20:02:38 +0200 Subject: [PATCH] Update card.php --- htdocs/fourn/commande/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index 41b7afb1579..efa8be0f951 100644 --- a/htdocs/fourn/commande/card.php +++ b/htdocs/fourn/commande/card.php @@ -969,7 +969,7 @@ if (empty($reshook)) if ($result < 0) { - setEventMessages(null,$object->errors,'errors'); + setEventMessages($object->error,$object->errors,'errors'); $error++; }