Skip to content
Snippets Groups Projects
Commit f1af02f7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Link to check SIRET not visible if SIRET not defined

parent e7529532
No related branches found
No related tags found
No related merge requests found
...@@ -557,7 +557,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') ...@@ -557,7 +557,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
else else
{ {
/* /*
* Affichage des parametres * Show parameters
*/ */
if ($message) print $message.'<br>'; if ($message) print $message.'<br>';
...@@ -689,7 +689,7 @@ else ...@@ -689,7 +689,7 @@ else
if ($langs->transcountry("ProfId1",$code_pays) != '-') if ($langs->transcountry("ProfId1",$code_pays) != '-')
{ {
print $conf->global->MAIN_INFO_SIREN; print $conf->global->MAIN_INFO_SIREN;
if ($code_pays == 'FR') print ' &nbsp; <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 ' &nbsp; <a href="http://avis-situation-sirene.insee.fr/avisitu/jsp/avis.jsp" target="_blank">'.$langs->trans("Check").'</a>';
} }
print '</td></tr>'; print '</td></tr>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment