1
0
mirror of https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git synced 2024-12-22 04:10:07 +00:00

27 Fix The 'name' value must be set in other

With this plugin's "Enable plugin" setting set to No, editing an
activity's settings resulted in the error "Coding error detected, it must
be fixed by a programmer: The 'name' value must be set in other.".
This commit is contained in:
Leon Stringer 2022-10-06 21:01:32 +01:00
parent 5a44f324ae
commit 1d568254bf

View File

@ -198,7 +198,7 @@ function plagiarism_pchkorg_coursemodule_edit_post_actions($data, $course)
$config = $pchkorgconfigmodel->get_system_config('pchkorg_use');
if ('1' != $config) {
return;
return $data;
}
$fields = array(