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);