From aea0083abc3e5ff4e4eff12b068cbb98c79860c9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 11 Oct 2023 12:04:09 +0200 Subject: [PATCH] Better fix for #26124 --- htdocs/societe/card.php | 88 ++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 49 deletions(-) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 9bbc5badfe0..a0f8f6f7612 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1235,7 +1235,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { print load_fiche_titre($langs->trans("NewThirdParty"), $linkback, 'building'); if (!empty($conf->use_javascript_ajax)) { - if (!empty($conf->global->THIRDPARTY_SUGGEST_ALSO_ADDRESS_CREATION)) { + if (getDolGlobalString('THIRDPARTY_SUGGEST_ALSO_ADDRESS_CREATION')) { print "\n".''."\n"; } + + print ''."\n"; } dol_htmloutput_mesg(is_numeric($error) ? '' : $error, $errors, 'error');