Permalink
Browse files

CR+LF in CSV export

  • Loading branch information...
1 parent d0cf5a8 commit 02d6b90889ada292239c5965867812ef16546210 @vrana committed Dec 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/include/functions.inc.php
@@ -735,7 +735,7 @@ function dump_csv($row) {
$row[$key] = '"' . str_replace('"', '""', $val) . '"';
}
}
- echo implode(($_POST["format"] == "csv" ? "," : ($_POST["format"] == "tsv" ? "\t" : ";")), $row) . "\n";
+ echo implode(($_POST["format"] == "csv" ? "," : ($_POST["format"] == "tsv" ? "\t" : ";")), $row) . "\r\n";
}
/** Apply SQL function

0 comments on commit 02d6b90

Please sign in to comment.