mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 14:30:05 +01:00
Resources: Fix category ACL with no admin added a blank user, which then failed validation
This commit is contained in:
parent
edcd9ae55c
commit
9e56554408
@ -199,7 +199,7 @@ class resources_acl_ui
|
|||||||
try {
|
try {
|
||||||
$cats->edit($content);
|
$cats->edit($content);
|
||||||
resources_acl_bo::set_rights(
|
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'])
|
if($content['location'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user