From 8031ef49f28ffd3fd5055d539bc2031ecce71d04 Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Tue, 5 Jun 2018 20:38:55 +0200 Subject: [PATCH] fix error return --- htdocs/fourn/commande/card.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index 8ea1f249b7e..41b7afb1579 100644 --- a/htdocs/fourn/commande/card.php +++ b/htdocs/fourn/commande/card.php @@ -969,6 +969,7 @@ if (empty($reshook)) if ($result < 0) { + setEventMessages(null,$object->errors,'errors'); $error++; }