Merge branch 'feature/check_query' into develop
This commit is contained in:
commit
f7ba03cbf3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue