From c4cf0c4a8bff66d710b95fce6199aa4beca81d30 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 27 Jan 2010 21:57:09 +0100 Subject: fixed variable misspelling in TarLib FS#1871 --- inc/TarLib.class.php | 4 ++-- 1 file 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; -- cgit v1.2.3