mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for settings savers
This commit is contained in:
parent
0ac294eaf0
commit
ed63d56a31
@ -46,14 +46,6 @@ trait ClientGroupSettingsSaver
|
|||||||
unset($settings[$field]);
|
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,
|
* 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
|
* we unset it from the settings object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user