fixed event view filter

This commit is contained in:
alejandro.campos@artica.es 2022-01-18 09:07:49 +01:00
parent 4899d68ec2
commit a751fd7077
1 changed files with 2 additions and 2 deletions

View File

@ -1157,7 +1157,7 @@ function events_get_all(
}
if ($tags[0] === $id_tag) {
$_tmp .= ' AND ( ';
$_tmp .= ' AND (( ';
} else {
$_tmp .= ' OR ( ';
}
@ -1185,7 +1185,7 @@ function events_get_all(
$_tmp .= ') ';
}
$sql_filters[] = $_tmp;
$sql_filters[] = $_tmp.')';
}
}