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])) {
|
||||
return true;
|
||||
} else if (empty($acls[$group])) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue