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
1 changed files with 1 additions and 1 deletions

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(