summaryrefslogtreecommitdiff
path: root/inc/TarLib.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-01-27 21:57:09 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-01-27 21:57:09 +0100
commitc4cf0c4a8bff66d710b95fce6199aa4beca81d30 (patch)
treeb9af98e5fcf67618b9b858bef5f49c153bb15366 /inc/TarLib.class.php
parentf3718805c9a748b2e6e5c7010f77a4d01859934c (diff)
downloadrpg-c4cf0c4a8bff66d710b95fce6199aa4beca81d30.tar.gz
rpg-c4cf0c4a8bff66d710b95fce6199aa4beca81d30.tar.bz2
fixed variable misspelling in TarLib FS#1871
Diffstat (limited to 'inc/TarLib.class.php')
-rw-r--r--inc/TarLib.class.php4
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;