diff --git a/includes/infogreffe/infogreffews.php b/includes/infogreffe/infogreffews.php index 5b2654995..829f65ee6 100644 --- a/includes/infogreffe/infogreffews.php +++ b/includes/infogreffe/infogreffews.php @@ -956,7 +956,6 @@ function infogreffe_bilan_ref($bilan) function infogreffe_bilan_filename($siren, $ref) { - global $firephp; return 'bilan-'.$siren.'-'.$ref.'.pdf'; } @@ -998,7 +997,7 @@ function infogreffe_logfile($info){ if( !file_exists($file) ){ $entetes = array('siren', 'idCommande', 'type', 'vecteur', 'option'); $fp = fopen($file, 'w'); - fputcsv($fp, $entete); + fputcsv($fp, $entetes); fclose($fp); } $fp = fopen($file, 'a');