Fix api role edit #617

This commit is contained in:
Kendrick Chan 2021-08-21 00:50:26 +08:00
parent 5dee6d0418
commit 4a9de8e465

View file

@ -242,7 +242,7 @@ class APIRoleController 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');