Overview
SHA1:d0aec8e8551ab4dc72e08a2315837ba07b7bbec1
Date: 2018-06-08 23:49:21
User: bohwaz
Comment:Corrige espaces entre champs non accepté par Excel, cf. [a0d8fe39e6]
Timelines: family | ancestors | descendants | both | trunk | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
References
2018-06-08
23:49 • Fixed ticket [a0d8fe39e6]: Import de fichier CSV dans Excel plus 5 other changes (user: bohwaz) [details]
Tags And Properties
Context
2018-06-11
14:27
[9e063787cb] Plugins: Ne pas lister les répertoires qui ne sont pas des plugins ou qui n'ont pas un nom valide (user: bohwaz, tags: trunk, stable)
2018-06-08
23:49
[d0aec8e855] Corrige espaces entre champs non accepté par Excel, cf. [a0d8fe39e6] (user: bohwaz, tags: trunk, stable)
2018-05-31
22:28
[5e516fa1a3] Mise à jour design fiche membre (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) . '"';
    }
}