Don't trim resulting line (bug #782483).

This commit is contained in:
Michal Čihař
2003-08-12 08:33:11 +00:00
parent c69386f3bc
commit a876b6ccf0
2 changed files with 3 additions and 3 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-08-12 Michal Cihar <nijel@users.sourceforge.net>
* libraries/export/csv.php3: Don't trim resulting line (bug #782483).
2003-08-11 Michal Cihar <nijel@users.sourceforge.net>
* libraries/export/csv.php3, libraries/export/latex.php3,
libraries/export/xml.php3: Added some stripslashes to generate correct

View File

@@ -134,7 +134,6 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
} // end if
// Format the data
$i = 0;
while ($row = PMA_mysql_fetch_row($result)) {
$schema_insert = '';
for ($j = 0; $j < $fields_cnt; $j++) {
@@ -162,9 +161,7 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
$schema_insert .= $separator;
}
} // end for
$schema_insert =trim($schema_insert);
if (!PMA_exportOutputHandler($schema_insert . $add_character)) return FALSE;
$i++;
} // end while
mysql_free_result($result);