mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-22 04:10:07 +00:00
Fix default value for activity option
This commit is contained in:
parent
c511214aed
commit
28a2132625
4
lib.php
4
lib.php
@ -361,7 +361,9 @@ class plagiarism_plugin_pchkorg extends plagiarism_plugin {
|
||||
);
|
||||
}
|
||||
|
||||
$isreportallowed = !$isstudent || $pchkorgconfigmodel->show_report_for_student($cmid) === true;
|
||||
$isreportallowed = !$isstudent
|
||||
|| $pchkorgconfigmodel->show_report_for_student($cmid) === true
|
||||
|| $pchkorgconfigmodel->show_report_for_student($cmid) === null;
|
||||
|
||||
// Only for some type of account, method will call a remote HTTP API.
|
||||
// The API will be called only once, because result is static.
|
||||
|
@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
|
||||
if (!isset($plugin)) {
|
||||
$plugin = new stdClass();
|
||||
}
|
||||
$plugin->version = 2022103112;
|
||||
$plugin->version = 2022103115;
|
||||
$plugin->requires = 2020061501; // Requires Moodle 3.9 .
|
||||
$plugin->release = 'v3.12.2';
|
||||
$plugin->release = 'v3.12.3';
|
||||
$plugin->component = 'plagiarism_pchkorg';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
$plugin->dependencies = array(
|
||||
|
Loading…
Reference in New Issue
Block a user