Merge branch 'ent-8108-Error-en-la-vista-de-eventos-de-un-agente-concreto' into 'develop'

fixed filter loaded from event graph on agent view

See merge request artica/pandorafms!4564
This commit is contained in:
Daniel Rodriguez 2021-12-28 12:02:56 +00:00
commit 10e282b76b
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ $default_filter = [
$fb64 = get_parameter('fb64', null); $fb64 = get_parameter('fb64', null);
if (isset($fb64)) { if (isset($fb64)) {
$filter = json_decode(base64_decode($fb64), true); $filter = json_decode(base64_decode($fb64), true);
$filter['tag_with'] = [];
$filter['tag_without'] = [];
} else { } else {
$filter = get_parameter( $filter = get_parameter(
'filter', 'filter',