mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 14:24:41 +02:00
Revert "UserGroupBackendForm: Do not persist null values, really"
This reverts commit 975edbe548ecacabee22fb871e21dd2b8312dc19. refs #11743
This commit is contained in:
parent
9bb798c18b
commit
014e7c136a
@ -127,14 +127,7 @@ class UserGroupBackendForm extends ConfigForm
|
||||
unset($data['name']);
|
||||
}
|
||||
|
||||
$backendConfig->merge($data);
|
||||
foreach ($backendConfig->toArray() as $k => $v) {
|
||||
if ($v === null) {
|
||||
unset($backendConfig->$k);
|
||||
}
|
||||
}
|
||||
|
||||
$this->config->setSection($name, $backendConfig);
|
||||
$this->config->setSection($name, $backendConfig->merge($data));
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user