Merge branch 'ent-5446-bug-creating-netflow-filter' into 'develop'

Ent 5446 bug creating netflow filter

See merge request artica/pandorafms!3090
This commit is contained in:
Daniel Rodriguez 2020-03-11 11:32:21 +01:00
commit fe5af27f8d
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ if ($update) {
];
// Save filter args
$values['filter_args'] = netflow_get_filter_arguments($values);
$values['filter_args'] = netflow_get_filter_arguments($values, true);
$result = db_process_sql_update('tnetflow_filter', $values, ['id_sg' => $id]);
@ -164,7 +164,7 @@ if ($create) {
];
// Save filter args
$values['filter_args'] = netflow_get_filter_arguments($values);
$values['filter_args'] = netflow_get_filter_arguments($values, true);
$id = db_process_sql_insert('tnetflow_filter', $values);
if ($id === false) {