From d25489f167d5709c43c412dbfb10fa9ad667c8c0 Mon Sep 17 00:00:00 2001 From: danielmaya Date: Mon, 30 Jul 2018 16:44:15 +0200 Subject: [PATCH] Fixed tags_check_acl when standar user have 'any' tag --- pandora_console/include/functions_tags.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_console/include/functions_tags.php b/pandora_console/include/functions_tags.php index 2ee8826f47..68345135c9 100644 --- a/pandora_console/include/functions_tags.php +++ b/pandora_console/include/functions_tags.php @@ -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; } } }