From 772204cc7e38b219eff64f57461c0e832f85110d Mon Sep 17 00:00:00 2001 From: Vanessa Gil Date: Wed, 8 Oct 2014 16:48:03 +0200 Subject: [PATCH] Fixed error sql. --- pandora_console/include/functions_tags.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_tags.php b/pandora_console/include/functions_tags.php index daa59c57bf..6ccda6fa8a 100644 --- a/pandora_console/include/functions_tags.php +++ b/pandora_console/include/functions_tags.php @@ -756,10 +756,9 @@ 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; + return " $query_prefix "."(".$condition.")"; } break; }