From 77030e1b9854a1e5b52f925dd75cfe07daee7302 Mon Sep 17 00:00:00 2001 From: Vanessa Gil Date: Tue, 7 Oct 2014 19:03:14 +0200 Subject: [PATCH] Fixed bug when you filter events. --- pandora_console/include/functions_tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_tags.php b/pandora_console/include/functions_tags.php index daf94ab559..daa59c57bf 100644 --- a/pandora_console/include/functions_tags.php +++ b/pandora_console/include/functions_tags.php @@ -756,7 +756,7 @@ function tags_get_acl_tags($id_user, $id_group, $access = 'AR', $return_mode = ' break; case 'event_condition': // Return the condition of the tags for tevento table - $condition = tags_get_acl_tags_event_condition($acltags); + $condition = "(".tags_get_acl_tags_event_condition($acltags).")"; if(!empty($condition)) { return " $query_prefix ".$condition;