From f1af02f79e96c4c14800261171299c9bd24e1a47 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Sat, 20 Feb 2010 11:22:02 +0000 Subject: [PATCH] Fix: Link to check SIRET not visible if SIRET not defined --- htdocs/admin/company.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index dbc9b5b9b61..25675c2d57c 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -557,7 +557,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') else { /* - * Affichage des parametres + * Show parameters */ if ($message) print $message.'<br>'; @@ -689,7 +689,7 @@ else if ($langs->transcountry("ProfId1",$code_pays) != '-') { print $conf->global->MAIN_INFO_SIREN; - if ($code_pays == 'FR') print ' <a href="http://avis-situation-sirene.insee.fr/avisitu/jsp/avis.jsp" target="_blank">'.$langs->trans("Check").'</a>'; + if ($conf->global->MAIN_INFO_SIREN && $code_pays == 'FR') print ' <a href="http://avis-situation-sirene.insee.fr/avisitu/jsp/avis.jsp" target="_blank">'.$langs->trans("Check").'</a>'; } print '</td></tr>'; } -- GitLab