FIX: Missing declaration

This commit is contained in:
Raphaël Doursenaud 2014-09-18 11:49:07 +02:00 committed by Raphaël Doursenaud
parent 9a141215bb
commit cc68966d72

View File

@ -246,7 +246,9 @@ if ($action == 'export_csv') {
header('Content-Type: text/csv');
header('Content-Disposition: attachment;filename=journal_achats.csv');
$companystatic = new Fournisseur($db);
if ($conf->global->ACCOUNTING_MODELCSV == 1) // Modèle Export Cegid Expert
{
foreach ( $tabfac as $key => $val ) {
@ -468,4 +470,4 @@ if ($action == 'export_csv') {
// End of page
llxFooter();
}
$db->close();
$db->close();