diff --git a/lib/php/FilesToJSON.php b/lib/php/FilesToJSON.php index 6ebef0c..ed37a7b 100644 --- a/lib/php/FilesToJSON.php +++ b/lib/php/FilesToJSON.php @@ -260,7 +260,7 @@ private function convertIftypeFile(): void $iftypeFile = $this->getSourceFile(self::TYPE_IFTYPE); $iftypes = []; - while ($line = fgetcsv($iftypeFile)) { + while ($line = fgetcsv($iftypeFile, 0, ',', '"', '')) { $iftypes[] = [ 'decimal' => $line[0], 'name' => $line[1],