From 54cf91eda4034c8b566e31f0ed9807e1807dc729 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 11 Jan 2022 13:31:16 +0100 Subject: [PATCH] Update card.php --- htdocs/comm/mailing/card.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php index f2b93ddbb80..d0b4fb03b2a 100644 --- a/htdocs/comm/mailing/card.php +++ b/htdocs/comm/mailing/card.php @@ -207,6 +207,8 @@ if (empty($reshook)) if ($result > 0) { $substitutionarray['__THIRDPARTY_CUSTOMER_CODE__'] = $thirdpartystatic->code_client; + } else { + $substitutionarray['__THIRDPARTY_CUSTOMER_CODE__'] = ''; } } $substitutionarray['__EMAIL__'] = $obj->email;