mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 07:16:28 +02:00
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:
commit
fe5af27f8d
@ -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…
x
Reference in New Issue
Block a user