From 6ddc67f01262e74135d8a60395d4a921f9ad8961 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 27 Jan 2012 16:46:36 +0000 Subject: [PATCH] Correction fichier --- batch/enrichissement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/enrichissement.php b/batch/enrichissement.php index 95b67d4b..fc87186f 100644 --- a/batch/enrichissement.php +++ b/batch/enrichissement.php @@ -256,7 +256,7 @@ $posKeySiren = $posKeySiret = $posKeyNic = false; //Lire le fichier csv $row = 0; -if (($handle = fopen($opts->file, 'r')) !== FALSE) { +if (($handle = fopen($file, 'r')) !== FALSE) { while (($data = fgetcsv($handle, 0, ',', '"')) !== FALSE) { $num = count($data);