From 3a041e6d352ebd6a55ca457ece5cb1c34b72f385 Mon Sep 17 00:00:00 2001 From: Jane Adelmann Date: Tue, 8 Oct 2024 14:57:38 +0300 Subject: [PATCH] Fix typo. Version 3.15.3 --- lib.php | 2 +- version.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.php b/lib.php index 3cb17c6..2ff5857 100644 --- a/lib.php +++ b/lib.php @@ -418,7 +418,7 @@ class plagiarism_plugin_pchkorg extends plagiarism_plugin { $response = $attempt->get_response_summary(); $signature = sha1($response); } else { - $signature = sha1($linkarray('content')); + $signature = sha1($linkarray['content']); } $where->signature = $signature; $where->fileid = null; diff --git a/version.php b/version.php index 571a849..0bf7abb 100644 --- a/version.php +++ b/version.php @@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die(); if (!isset($plugin)) { $plugin = new stdClass(); } -$plugin->version = 2024100719; +$plugin->version = 2024100814; $plugin->requires = 2020061501; // Requires Moodle 3.9 . -$plugin->release = 'v3.15.2'; +$plugin->release = 'v3.15.3'; $plugin->component = 'plagiarism_pchkorg'; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array(