Fix cvs/csv typo.

This commit is contained in:
Michal Čihař
2006-10-13 08:14:31 +00:00
parent b79587ee9f
commit 0d9c5892c6
2 changed files with 3 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ $Source$
* main.php:
- Mention wiki.
- Switch to subversion.
* libraries/export/csv.php: Fix cvs/csv typo.
2006-10-12 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php: bug #1566219, automated timestamp values

View File

@@ -67,7 +67,7 @@ function PMA_exportHeader() {
$csv_enclosed = '"';
$csv_escaped = '"';
if (isset($GLOBALS['excel_columns'])) {
$GLOBALS['cvs_columns'] = 'yes';
$GLOBALS['csv_columns'] = 'yes';
}
} else {
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);
// If required, get fields name at the first line
if (isset($GLOBALS['cvs_columns'])) {
if (isset($GLOBALS['csv_columns'])) {
$schema_insert = '';
for ($i = 0; $i < $fields_cnt; $i++) {
if ($csv_enclosed == '') {