From e56b362066d5cd96ab939d91dba8341da1a14d73 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 16 Apr 2010 13:12:27 +0000 Subject: [PATCH] =?UTF-8?q?Lien=20dans=20le=20menu=20d=C3=A9sactiv=C3=A9?= =?UTF-8?q?=20lorsque=20pas=20d'entreprise=20s=C3=A9lectionn=C3=A9e,=20iss?= =?UTF-8?q?ue=20#0000194?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/menu/menu_liens.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/menu/menu_liens.php b/includes/menu/menu_liens.php index b45ae9766..7f2c46085 100644 --- a/includes/menu/menu_liens.php +++ b/includes/menu/menu_liens.php @@ -592,6 +592,10 @@ function menu_href_bdfautres() function menu_href_procol() { global $siret, $idEntreprise; - $href = './?page=identite_procol&idEntreprise='.$idEntreprise.'&siret='.$siret; + if ($siret*1==0 && $idEntreprise*1==0){ + $href = '#'; + } else{ + $href = './?page=identite_procol&idEntreprise='.$idEntreprise.'&siret='.$siret; + } return $href; } \ No newline at end of file