From a7702a7a446727e7e186eaace85a460c71b6efc6 Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Tue, 24 Sep 2024 10:01:32 +0600 Subject: [PATCH] pkp/plagiarism#52 main fixed calling non static prop as static --- controllers/PlagiarismIthenticateActionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/PlagiarismIthenticateActionHandler.php b/controllers/PlagiarismIthenticateActionHandler.php index 18e7db3..2938eb0 100644 --- a/controllers/PlagiarismIthenticateActionHandler.php +++ b/controllers/PlagiarismIthenticateActionHandler.php @@ -102,7 +102,7 @@ public function launchViewer(array $args, Request $request) // If EULA is required and submission has EULA stamped, we set the applicable EULA // Otherwise get the current EULA from default one and set the applicable // Basically we need to retrieve the available langs details from EULA details - static::$_plugin->getContextEulaDetails($context, 'require_eula') == true && + $this->_plugin->getContextEulaDetails($context, 'require_eula') == true && $submission->getData('ithenticateEulaVersion') ? $ithenticate->setApplicableEulaVersion($submission->getData('ithenticateEulaVersion')) : $ithenticate->validateEulaVersion($ithenticate::DEFAULT_EULA_VERSION);