Handle correctly AUTO (bug #1497239).

This commit is contained in:
Michal Čihař
2006-05-30 13:46:13 +00:00
parent c8eaea4e22
commit af54eb141e
2 changed files with 3 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ function PMA_exportHeader() {
$GLOBALS['cvs_columns'] = 'yes';
}
} else {
if (empty($csv_terminated)) {
if (empty($csv_terminated) || strtolower($csv_terminated) == 'auto') {
$csv_terminated = $GLOBALS['crlf'];
} else {
$csv_terminated = str_replace('\\r', "\015", $csv_terminated);