diff --git a/lib/Enzebe.php b/lib/Enzebe.php index 8ba418cb9..4ee183c3a 100644 --- a/lib/Enzebe.php +++ b/lib/Enzebe.php @@ -317,8 +317,7 @@ class Enzebe return $result; } - $nzb = str_replace("\x0F", '', $nzb); - $xml = @simplexml_load_string($nzb); + $xml = @simplexml_load_string(str_replace("\x0F", '', $nzb)); if (!$xml || strtolower($xml->getName()) !== 'nzb') { return $result; } diff --git a/lib/ProcessAdditional.php b/lib/ProcessAdditional.php index 4f976473c..e5fac2fa9 100644 --- a/lib/ProcessAdditional.php +++ b/lib/ProcessAdditional.php @@ -718,7 +718,7 @@ Class ProcessAdditional } // Get a list of files in the nzb. - $this->_nzbContents = $this->_nzb->nzbFileList($nzbContents); + $this->_nzbContents = $this->nnnzb->nzbFileList($nzbContents); if (count($this->_nzbContents) === 0) { $this->_echo('NZB is potentially broken for GUID: ' . $this->_release['guid'], 'warning'); diff --git a/lib/copy_this/www/lib/TmuxOutput.php b/lib/copy_this/www/lib/TmuxOutput.php index 18dda780f..b101a9120 100644 --- a/lib/copy_this/www/lib/TmuxOutput.php +++ b/lib/copy_this/www/lib/TmuxOutput.php @@ -117,7 +117,7 @@ class TmuxOutput extends Tmux $buffer = ''; $state = ($this->runVar['settings']['is_running'] == 1) ? 'Running' : 'Disabled'; //$version = $this->_tvers . 'r' . $this->_vers; - $tversion = '0.5r01150'; + $tversion = '0.5r01147'; $buffer .= sprintf($this->tmpMasks[2], "Monitor $state v$tversion @ $this->_tvers [" . $this->_vers ."]: ", diff --git a/lib/copy_this/www/lib/nzb.php b/lib/copy_this/www/lib/nzb.php index 9fc1da929..220ccb500 100644 --- a/lib/copy_this/www/lib/nzb.php +++ b/lib/copy_this/www/lib/nzb.php @@ -146,9 +146,8 @@ class NZB { $result = array(); - $nzb = str_replace("\x0F", "", $nzb); + $xml = @simplexml_load_string(str_replace("\x0F", '', $nzb)); $num_pars = 0; - $xml = @simplexml_load_string($nzb); if (!$xml || strtolower($xml->getName()) != 'nzb') return false;