Fixed a bug if an user requires a gziped dump but forget to check the transmit checkbox

This commit is contained in:
Loïc Chapeaux
2001-07-07 21:44:41 +00:00
parent 1ef94e2310
commit d5cd8498f8
2 changed files with 6 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ $Source$
dependant, size units also. dependant, size units also.
* tbl_dump.php3, lines 78: Added a '#' before 'No tables found' so the * tbl_dump.php3, lines 78: Added a '#' before 'No tables found' so the
generated dump file may be imported later even if there is no table. generated dump file may be imported later even if there is no table.
* tbl_dump.php3, lines 9-11: Fixed a bug if an user requires a gziped dump
but forget to check the transmit checkbox.
* db_printview.php3, line 29: Cosmetic change in column case name. * db_printview.php3, line 29: Cosmetic change in column case name.
2001-07-06 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2001-07-06 Lo<4C>c Chapeaux <lolo@phpheaven.net>

View File

@@ -6,6 +6,10 @@ require("./grab_globals.inc.php3");
@set_time_limit(600); @set_time_limit(600);
$crlf="\n"; $crlf="\n";
if (empty($asfile) && !empty($gzip)) {
$asfile = 1;
}
if(empty($asfile)) if(empty($asfile))
{ {
include("./header.inc.php3"); include("./header.inc.php3");