Fixes for settings savers

This commit is contained in:
David Bomba 2023-09-05 16:22:24 +10:00
parent 0ac294eaf0
commit ed63d56a31

View File

@ -46,14 +46,6 @@ trait ClientGroupSettingsSaver
unset($settings[$field]);
}
foreach(['translations','pdf_variables'] as $field) {
if (isset($settings[$field])) {
unset($settings[$field]);
}
}
/*
* for clients and group settings, if a field is not set or is set to a blank value,
* we unset it from the settings object