Skip to content
Snippets Groups Projects
Commit c4cf0c4a authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fixed variable misspelling in TarLib FS#1871

parent f3718805
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment