Cast $this->_release as array for addAlternateNfo function

This commit is contained in:
DariusIII
2018-07-19 14:59:10 +02:00
parent e076f73b86
commit 1b07e74e0b
2 changed files with 2 additions and 1 deletions
@@ -2209,7 +2209,7 @@ class ProcessAdditional
$data = @file_get_contents($fileLocation);
if ($data !== false) {
if ($this->_nfo->isNFO($data, $this->_release->guid) === true) {
if ($this->_nfo->addAlternateNfo($data, $this->_release, $this->_nntp) === true) {
if ($this->_nfo->addAlternateNfo($data, (array) $this->_release, $this->_nntp) === true) {
$this->_releaseHasNoNFO = false;
}
}