Skip to content

Commit

Permalink
#32 Fix non-static error message
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jul 29, 2022
1 parent e47bc74 commit 7c3986c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlagiarismPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function sendErrorMessage($submissionid, $message) {
* @param $args array
*/
public function callback($hookName, $args) {
$request = Application::getRequest();
$request = Application::get()->getRequest();
$context = $request->getContext();
$contextPath = $context->getPath();
$submissionDao = DAORegistry::getDAO('SubmissionDAO'); /* @var $submissionDao SubmissionDAO */
Expand Down

0 comments on commit 7c3986c

Please sign in to comment.