From 4a4bf3273b48c57cb3b5ab2a5b6a69d492df73df Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 16 Dec 2018 13:22:38 +0100 Subject: [PATCH] Experiment disabling of creation of contact+thirdparty with hidden option THIRDPARTY_SUGGEST_ALSO_ADDRESS_CREATION --- htdocs/societe/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 3981731419e..43a5cf24a70 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1037,7 +1037,7 @@ else $linkback=""; print load_fiche_titre($langs->trans("NewThirdParty"),$linkback,'title_companies.png'); - if (! empty($conf->use_javascript_ajax)) + if (! empty($conf->use_javascript_ajax) && ! empty($conf->global->THIRDPARTY_SUGGEST_ALSO_ADDRESS_CREATION)) { print "\n".'