Fix role controller issue on saving #270

This commit is contained in:
Kendrick Chan 2020-03-05 23:52:40 +08:00
parent 214e44405c
commit 60fb331b47

View file

@ -248,7 +248,7 @@ class RoleController extends Controller
if (!$row->isSuperAdmin()) if (!$row->isSuperAdmin())
{ {
// clear first // clear first
$row->clearACLAttributes(); $row->clearACLAccess();
// then add // then add
$acl_attribs = $req->request->get('acl'); $acl_attribs = $req->request->get('acl');