Remove casting $this->_release into array on line 2204 of PPA class

This commit is contained in:
DariusIII
2019-03-18 10:13:52 +01:00
parent 15538c2dc7
commit 244ae653ab
2 changed files with 2 additions and 1 deletions
@@ -2201,7 +2201,7 @@ class ProcessAdditional
protected function _processNfoFile($fileLocation): void
{
$data = @File::get($fileLocation);
if ($data !== false && $this->_nfo->isNFO($data, $this->_release->guid) && $this->_nfo->addAlternateNfo($data, (array) $this->_release, $this->_nntp)) {
if ($data !== false && $this->_nfo->isNFO($data, $this->_release->guid) && $this->_nfo->addAlternateNfo($data, $this->_release, $this->_nntp)) {
$this->_releaseHasNoNFO = false;
}
}