From 0c219655e08bbe59c1b79f1d273173c172f12fbf Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 19 Nov 2014 14:44:53 +0100 Subject: [PATCH] Security: Our Config object no longer supports __set, __get and so on refs #5647 --- application/forms/Security/RoleForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/Security/RoleForm.php b/application/forms/Security/RoleForm.php index 5861fa6fa..f81cc9fd9 100644 --- a/application/forms/Security/RoleForm.php +++ b/application/forms/Security/RoleForm.php @@ -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;