diff --git a/ChangeLog b/ChangeLog index a3cd828f3..355334439 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ $Source$ * ob_lib.inc.php3, oops: must be PHP3 compatible * sql.php3: bug 447771 bad counting of entries, patch developed from an idea of Ignacio Vazquez-Abrams (ivazquezabrams) + * tbl_properties.php3: check if new variables $cfgGZipDump and + $cfgBZipDump are set (else PHP3 complains) + * db_details.php3: was not using those 2 new variables 2001-08-04 Steve Alberty * lib.inc.php3: fixed #444017 (thanks anonymous) diff --git a/tbl_properties.php3 b/tbl_properties.php3 index eac19175c..35b079998 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -634,8 +634,10 @@ echo "\n"; = 40004) { - $is_gzip = ($cfgGZipDump && @function_exists('gzencode')); - $is_bzip = ($cfgBZipDump && @function_exists('bzcompress')); + $is_gzip = (isset($cfgGZipDump) + && $cfgGZipDump && @function_exists('gzencode')); + $is_bzip = (isset($cfgBZipDump) + && $cfgBZipDump && @function_exists('bzcompress')); if ($is_gzip || $is_bzip) { echo "\n" . ' (' . "\n"; if ($is_gzip) {