Correction type variable

This commit is contained in:
Michael RICOIS 2010-11-18 10:46:50 +00:00
parent fbff0842c6
commit 8fea86af89

View File

@ -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');