Overview
Comment:Corrige espaces entre champs non accepté par Excel, cf. [a0d8fe39e6]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: d0aec8e8551ab4dc72e08a2315837ba07b7bbec1
User & Date: bohwaz on 2018-06-08 23:49:21
Other Links: manifest | tags
Context
2018-06-11
14:27
Plugins: Ne pas lister les répertoires qui ne sont pas des plugins ou qui n'ont pas un nom valide check-in: 9e063787cb user: bohwaz tags: trunk, stable
2018-06-08
23:49
Corrige espaces entre champs non accepté par Excel, cf. [a0d8fe39e6] check-in: d0aec8e855 user: bohwaz tags: trunk, stable
2018-05-31
22:28
Mise à jour design fiche membre check-in: 5e516fa1a3 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Utils.php from [d94c10b15e] to [45da0b309d].

727
728
729
730
731
732
733
734
735
736
    {
        $row = (array) $row;

        array_walk($row, function ($field) {
            return strtr($field, ['"' => '""', "\r\n" => "\n"]);
        });

        return '"' . implode('", "', $row) . '"';
    }
}







|


727
728
729
730
731
732
733
734
735
736
    {
        $row = (array) $row;

        array_walk($row, function ($field) {
            return strtr($field, ['"' => '""', "\r\n" => "\n"]);
        });

        return '"' . implode('","', $row) . '"';
    }
}