Correction fichier
This commit is contained in:
parent
a8122270bf
commit
6ddc67f012
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user