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

@ -247,6 +247,8 @@ if ($action == 'export_csv') {
header('Content-Type: text/csv'); header('Content-Type: text/csv');
header('Content-Disposition: attachment;filename=journal_achats.csv'); header('Content-Disposition: attachment;filename=journal_achats.csv');
$companystatic = new Fournisseur($db);
if ($conf->global->ACCOUNTING_MODELCSV == 1) // Modèle Export Cegid Expert if ($conf->global->ACCOUNTING_MODELCSV == 1) // Modèle Export Cegid Expert
{ {
foreach ( $tabfac as $key => $val ) { foreach ( $tabfac as $key => $val ) {