From f1d098adccc5b624c27e578cb263275ac74ca76b Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Fri, 27 Sep 2019 20:15:11 +0200 Subject: [PATCH] fix remove error dispplaying --- htdocs/contact/card.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index 5861cc71d38..e4fc61f2e54 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -475,6 +475,9 @@ else // Si edition contact deja existant $object = new Contact($db); $res=$object->fetch($id, $user); + if ($res<0) { + setEventMessage($this->error,'errors'); + } // Show tabs $head = contact_prepare_head($object);