diff --git a/includes/bdf/bdf.php b/includes/bdf/bdf.php index f26ca1ae3..41e133d13 100644 --- a/includes/bdf/bdf.php +++ b/includes/bdf/bdf.php @@ -37,8 +37,7 @@ function enleveLiens($contenu, $discriminant) function bdf_loadpage($url) { - global $firephp; - $firephp->log($url, 'url'); + FB::log($url, 'url'); $page = getUrl($url, '', '', '', false, '', '',15); //Fichier non disponible if($page['code']==408 || $page['code']==400){ @@ -63,7 +62,7 @@ function bdf_loadpage($url) $output = bdf_lien_siren($output); $output = stripslashes($output); - $firephp->log($output, 'content'); + FB::log($output, 'content'); return $output; } diff --git a/includes/menu/menu_liens.php b/includes/menu/menu_liens.php index 35c93a266..003bce4e0 100644 --- a/includes/menu/menu_liens.php +++ b/includes/menu/menu_liens.php @@ -537,7 +537,8 @@ function menu_href_bdf($module) $href = './?page=bdf&module='.$module. '&idEntreprise='.$idEntreprise. '&siret='.$siret. - '&req='.$req; + '&req='.$req. + '&type=u'; } elseif ($module == 'autres') {