Merge branch 'MDL-68339_38' of https://github.com/stronk7/moodle into MOODLE_38_STABLE

This commit is contained in:
Jun Pataleta
2020-04-20 21:52:49 +08:00
+1 -1
View File
@@ -83,7 +83,7 @@ if (($form = data_submitted()) && confirm_sesskey()) {
}
} else {
$newsettings = array();
if (array_key_exists($componentprovidersetting, $form)) {
if (property_exists($form, $componentprovidersetting)) {
// We must be processing loggedin or loggedoff checkboxes.
// Store defained comma-separated processors as setting value.
// Using array_filter eliminates elements set to 0 above.