Fix cvs/csv typo.
This commit is contained in:
@@ -14,6 +14,7 @@ $Source$
|
|||||||
* main.php:
|
* main.php:
|
||||||
- Mention wiki.
|
- Mention wiki.
|
||||||
- Switch to subversion.
|
- Switch to subversion.
|
||||||
|
* libraries/export/csv.php: Fix cvs/csv typo.
|
||||||
|
|
||||||
2006-10-12 Marc Delisle <lem9@users.sourceforge.net>
|
2006-10-12 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php: bug #1566219, automated timestamp values
|
* tbl_change.php: bug #1566219, automated timestamp values
|
||||||
|
@@ -67,7 +67,7 @@ function PMA_exportHeader() {
|
|||||||
$csv_enclosed = '"';
|
$csv_enclosed = '"';
|
||||||
$csv_escaped = '"';
|
$csv_escaped = '"';
|
||||||
if (isset($GLOBALS['excel_columns'])) {
|
if (isset($GLOBALS['excel_columns'])) {
|
||||||
$GLOBALS['cvs_columns'] = 'yes';
|
$GLOBALS['csv_columns'] = 'yes';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (empty($csv_terminated) || strtolower($csv_terminated) == 'auto') {
|
if (empty($csv_terminated) || strtolower($csv_terminated) == 'auto') {
|
||||||
@@ -146,7 +146,7 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
|
|||||||
$fields_cnt = PMA_DBI_num_fields($result);
|
$fields_cnt = PMA_DBI_num_fields($result);
|
||||||
|
|
||||||
// If required, get fields name at the first line
|
// If required, get fields name at the first line
|
||||||
if (isset($GLOBALS['cvs_columns'])) {
|
if (isset($GLOBALS['csv_columns'])) {
|
||||||
$schema_insert = '';
|
$schema_insert = '';
|
||||||
for ($i = 0; $i < $fields_cnt; $i++) {
|
for ($i = 0; $i < $fields_cnt; $i++) {
|
||||||
if ($csv_enclosed == '') {
|
if ($csv_enclosed == '') {
|
||||||
|
Reference in New Issue
Block a user