From 75e639db6c06c2fd99f8eaad5f449d4a2d46b341 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 2 Sep 2017 15:23:53 +0200 Subject: [PATCH] Fix error management --- htdocs/societe/card.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 00b463f647a..bc62e71dd04 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -701,6 +701,10 @@ if (empty($reshook)) } } } + else + { + $action='create'; + } } // Delete third party