Merge branch 'feature/check_query' into develop

This commit is contained in:
Vanessa Gil 2014-10-08 16:49:03 +02:00
commit f7ba03cbf3
1 changed files with 2 additions and 3 deletions

View File

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