bug 1038804 - insufficient space to save

This commit is contained in:
Marc Delisle
2004-10-02 12:56:44 +00:00
parent a7b99605e3
commit 89ecfb83c5
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2004-10-02 Marc Delisle <lem9@users.sourceforge.net>
* tbl_alter.php: field structure changes not applied (CVS version only)
* export.php: bug #1038804, insufficient space to save
2004-09-30 Marc Delisle <lem9@users.sourceforge.net>
* tbl_addfield.php: bug #1037744 (CVS version only): cannot add a field

View File

@@ -101,7 +101,7 @@ function PMA_exportOutputHandler($line)
}
} else {
if ($GLOBALS['asfile']) {
if ($GLOBALS['save_on_server']) {
if ($GLOBALS['save_on_server'] && strlen($line) > 0) {
$write_result = @fwrite($GLOBALS['file_handle'], $line);
if (!$write_result || ($write_result != strlen($line))) {
$GLOBALS['message'] = sprintf($GLOBALS['strNoSpace'], htmlspecialchars($save_filename));