Revert "UserGroupBackendForm: Do not persist null values, really"

This reverts commit 975edbe548.

refs 
This commit is contained in:
Alexander A. Klimov 2016-10-12 11:07:21 +02:00
parent 9bb798c18b
commit 014e7c136a
1 changed files with 1 additions and 8 deletions
application/forms/Config/UserGroup

View File

@ -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;
}