Prevent undefined index warnings for unchecked checkbpxes in the settings form
This commit is contained in:
parent
670984854f
commit
a0b2879b69
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class CRM_Twingle_Form_Settings extends CRM_Core_Form {
|
||||||
|
|
||||||
// store settings
|
// store settings
|
||||||
foreach (self::$SETTINGS_LIST as $setting) {
|
foreach (self::$SETTINGS_LIST as $setting) {
|
||||||
Civi::settings()->set($setting, $values[$setting]);
|
Civi::settings()->set($setting, $values[$setting] ?? NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
parent::postProcess();
|
parent::postProcess();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue