mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch '2537-Error-al-editar-módulos-con-tags-dev' into 'develop'
Fixed tags_check_acl when standar user have 'any' tag See merge request artica/pandorafms!1647
This commit is contained in:
commit
1e71f93bba
@ -1275,6 +1275,8 @@ function tags_check_acl($id_user, $id_group, $access, $tags = array(), $flag_id_
|
|||||||
|
|
||||||
if (in_array($tag, $acls[$group])) {
|
if (in_array($tag, $acls[$group])) {
|
||||||
return true;
|
return true;
|
||||||
|
} else if (empty($acls[$group])) {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user