From 1b07e74e0b607957b241ef36fcb87e7d9bfb7956 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 19 Jul 2018 14:59:10 +0200 Subject: [PATCH] Cast $this->_release as array for addAlternateNfo function --- 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 c41524f91..0e34b3239 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -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; } } diff --git a/Changelog b/Changelog index 7fc9dabc9..8a06e46ea 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-07-19 DariusIII + * Chg: Cast $this->_release as array for addAlternateNfo function * Chg: Update getXXXSamples script * Chg: Remove Blacklight\db\DB class from many scripts in misc/testing folder * Chg: Update ReleaseExtra class constructor