mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-22 12:10:08 +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:
parent
5a44f324ae
commit
1d568254bf
2
lib.php
2
lib.php
@ -198,7 +198,7 @@ function plagiarism_pchkorg_coursemodule_edit_post_actions($data, $course)
|
|||||||
|
|
||||||
$config = $pchkorgconfigmodel->get_system_config('pchkorg_use');
|
$config = $pchkorgconfigmodel->get_system_config('pchkorg_use');
|
||||||
if ('1' != $config) {
|
if ('1' != $config) {
|
||||||
return;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
$fields = array(
|
$fields = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user