Security: Our Config object no longer supports __set, __get and so on

refs #5647
This commit is contained in:
Eric Lippmann 2014-11-19 14:44:53 +01:00
parent f0084542e6
commit 0c219655e0
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class RoleForm extends ConfigForm
$name
));
}
$role = $this->config->{$name}->toArray();
$role = $this->config->getSection($name)->toArray();
$role['permissions'] = ! empty($role['permissions'])
? String::trimSplit($role['permissions'])
: null;