Commit f81ac007 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction dataSource pour PHP 8.4

parent bfcd8f0c
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Administration/src/DataSource/DataSource.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ class DataSource

        $r = fopen('data/departement.csv', 'r');
        $i = 0;
        while ($d = fgetcsv($r, 0, ',', '"')) {
        while ($d = fgetcsv($r, 0, ',', '"', '\\')) {
            $i++;
            if ($i > 1) {
                $code = (string)$d[0];