From d5cd8498f84667c55193818f34fd73af9eaf6ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 7 Jul 2001 21:44:41 +0000 Subject: [PATCH] Fixed a bug if an user requires a gziped dump but forget to check the transmit checkbox --- ChangeLog | 2 ++ tbl_dump.php3 | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8df7cee64..4d6519f5e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,8 @@ $Source$ dependant, size units also. * 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. + * 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. 2001-07-06 Loïc Chapeaux diff --git a/tbl_dump.php3 b/tbl_dump.php3 index c22ae63ab..7ec966e2c 100755 --- a/tbl_dump.php3 +++ b/tbl_dump.php3 @@ -6,6 +6,10 @@ require("./grab_globals.inc.php3"); @set_time_limit(600); $crlf="\n"; +if (empty($asfile) && !empty($gzip)) { + $asfile = 1; +} + if(empty($asfile)) { include("./header.inc.php3");