diff options
-rw-r--r-- | inc/TarLib.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/TarLib.class.php b/inc/TarLib.class.php index 3c1827554..a88ca63bc 100644 --- a/inc/TarLib.class.php +++ b/inc/TarLib.class.php @@ -123,7 +123,7 @@ class TarLib { break; case COMPRESS_BZIP: - if(!extension_loaded('bz2')) $this->_inierror = -2; + if(!extension_loaded('bz2')) $this->_initerror = -2; $this->_comptype = COMPRESS_BZIP; break; @@ -140,7 +140,7 @@ class TarLib { $this->_comptype = COMPRESS_NONE; } - if($this->_init_error < 0) $this->_comptype = COMPRESS_NONE; + if($this->_initerror < 0) $this->_comptype = COMPRESS_NONE; if($flag) $this->_nomf.= '.'.$this->getCompression(1); $this->_result = true; |