Ent 5446 bug creating netflow filter
This commit is contained in:
parent
9aea31f5c4
commit
6721e4f5ab
|
@ -130,7 +130,7 @@ if ($update) {
|
||||||
];
|
];
|
||||||
|
|
||||||
// Save filter args
|
// 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]);
|
$result = db_process_sql_update('tnetflow_filter', $values, ['id_sg' => $id]);
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ if ($create) {
|
||||||
];
|
];
|
||||||
|
|
||||||
// Save filter args
|
// 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);
|
$id = db_process_sql_insert('tnetflow_filter', $values);
|
||||||
if ($id === false) {
|
if ($id === false) {
|
||||||
|
|
Loading…
Reference in New Issue