Resources: Fix category ACL with no admin added a blank user, which then failed validation

This commit is contained in:
nathan 2023-04-18 11:16:06 -06:00
parent 950f069fb2
commit ff2c360dde

View File

@ -198,7 +198,7 @@ class resources_acl_ui
try {
$cats->edit($content);
resources_acl_bo::set_rights(
$content['id'], $content['read'], $content['write'], $content['calread'], $content['calwrite'], Array($content['admin'])
$content['id'], $content['read'], $content['write'], $content['calread'], $content['calwrite'], $content['admin']
);
if($content['location'])
{