Security: Our Config object no longer supports __set, __get and so on
refs #5647
This commit is contained in:
parent
f0084542e6
commit
0c219655e0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue