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');