mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
fixed event view filter
This commit is contained in:
parent
4899d68ec2
commit
a751fd7077
@ -1157,7 +1157,7 @@ function events_get_all(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($tags[0] === $id_tag) {
|
if ($tags[0] === $id_tag) {
|
||||||
$_tmp .= ' AND ( ';
|
$_tmp .= ' AND (( ';
|
||||||
} else {
|
} else {
|
||||||
$_tmp .= ' OR ( ';
|
$_tmp .= ' OR ( ';
|
||||||
}
|
}
|
||||||
@ -1185,7 +1185,7 @@ function events_get_all(
|
|||||||
$_tmp .= ') ';
|
$_tmp .= ') ';
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql_filters[] = $_tmp;
|
$sql_filters[] = $_tmp.')';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user