Correction fichier

This commit is contained in:
Michael RICOIS 2012-01-27 16:46:36 +00:00
parent a8122270bf
commit 6ddc67f012

View File

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