Revert "UserGroupBackendForm: Do not persist null values, really"
This reverts commit 975edbe548
.
refs #11743
This commit is contained in:
parent
9bb798c18b
commit
014e7c136a
application/forms/Config/UserGroup
|
@ -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…
Reference in New Issue