check if isset
This commit is contained in:
@@ -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 <alberty@neptunlabs.de>
|
||||
* lib.inc.php3: fixed #444017 (thanks anonymous)
|
||||
|
@@ -634,8 +634,10 @@ echo "\n";
|
||||
<?php
|
||||
// gzip and bzip2 encode features
|
||||
if (PMA_INT_VERSION >= 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) {
|
||||
|
Reference in New Issue
Block a user