mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +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']);
|
unset($data['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$backendConfig->merge($data);
|
$this->config->setSection($name, $backendConfig->merge($data));
|
||||||
foreach ($backendConfig->toArray() as $k => $v) {
|
|
||||||
if ($v === null) {
|
|
||||||
unset($backendConfig->$k);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->config->setSection($name, $backendConfig);
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user