Skip to content

Commit b78c3fa

Browse files
committed
default delimiter to , instead of ;
1 parent f7c2174 commit b78c3fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CsvWriter/SimpleCsvWrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function verifyDirectory( $directoryName ) {
4545
}
4646

4747
/* From: http://www.php.net/manual/en/function.str-getcsv.php#88773 and http://www.php.net/manual/en/function.str-getcsv.php#91170 */
48-
function str_putcsv( $input, $delimiter = ';', $enclosure = '"' ) {
48+
function str_putcsv( $input, $delimiter = ',', $enclosure = '"' ) {
4949
// Open a memory "file" for read/write...
5050
$filePipe = fopen( 'php://temp', 'r+' );
5151
// ... write the $input array to the "file" using fputcsv()...

0 commit comments

Comments
 (0)