This commit is contained in:
Jun Pataleta 2020-04-20 21:52:56 +08:00 committed by Adrian Greeve
commit 53cecde5a8

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.