Handle correctly AUTO (bug #1497239).
This commit is contained in:
@@ -17,7 +17,8 @@ $Source$
|
|||||||
* sql.php: Do not compare db if not defined.
|
* sql.php: Do not compare db if not defined.
|
||||||
* server_binlog.php, server_processlist.php: No need to grab all results
|
* server_binlog.php, server_processlist.php: No need to grab all results
|
||||||
to memory.
|
to memory.
|
||||||
* libraries/export/htmlexcel.php: Fix extension.
|
* libraries/export/htmlexcel.php: Fix extension (bug #1497239).
|
||||||
|
* libraries/export/csv.php: Handle correctly AUTO (bug #1497239).
|
||||||
|
|
||||||
2006-05-29 Michal Čihař <michal@cihar.com>
|
2006-05-29 Michal Čihař <michal@cihar.com>
|
||||||
* lang/galician: Update, thanks to Xosé Calvo - xosecalvo.
|
* lang/galician: Update, thanks to Xosé Calvo - xosecalvo.
|
||||||
|
@@ -70,7 +70,7 @@ function PMA_exportHeader() {
|
|||||||
$GLOBALS['cvs_columns'] = 'yes';
|
$GLOBALS['cvs_columns'] = 'yes';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (empty($csv_terminated)) {
|
if (empty($csv_terminated) || strtolower($csv_terminated) == 'auto') {
|
||||||
$csv_terminated = $GLOBALS['crlf'];
|
$csv_terminated = $GLOBALS['crlf'];
|
||||||
} else {
|
} else {
|
||||||
$csv_terminated = str_replace('\\r', "\015", $csv_terminated);
|
$csv_terminated = str_replace('\\r', "\015", $csv_terminated);
|
||||||
|
Reference in New Issue
Block a user