From 244ae653abbe1ff70a95a1acf1eb93a7ab2f5f3b Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 18 Mar 2019 10:13:52 +0100 Subject: [PATCH] Remove casting $this->_release into array on line 2204 of PPA class --- Blacklight/processing/post/ProcessAdditional.php | 2 +- Changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Blacklight/processing/post/ProcessAdditional.php b/Blacklight/processing/post/ProcessAdditional.php index 2f4f12f96..a547f3d72 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -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; } } diff --git a/Changelog b/Changelog index c0dc428cc..a8bd93293 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2019-03-18 DariusIII + * Chg: Remove casting $this->_release into array on line 2204 of PPA class * Chg: Don't send activation emails if site email is not set * CHg: Update used libraries to their latest versions 2019-03-15 DariusIII