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:
vgilc 2018-08-01 15:04:43 +02:00
commit 1e71f93bba
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}
}