Skip to content

Commit

Permalink
Merge pull request #2158 from greenbone/fix-fallback-filter-for-manua…
Browse files Browse the repository at this point in the history
…l-alerts

Fix: Fix the fallback filter for alerts with no compose filter
  • Loading branch information
a-h-abdelsalam authored Mar 26, 2024
2 parents 51a4c3d + cd06771 commit 9e6e6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -12155,7 +12155,7 @@ generate_alert_filter_get (alert_t alert, const get_data_t *base_get_data,
else
{
(*alert_filter_get)->filt_id = NULL;
(*alert_filter_get)->filter = g_strdup("");
(*alert_filter_get)->filter = base_get_data->filter;
}

/* Adjust filter for report composer.
Expand Down

0 comments on commit 9e6e6ab

Please sign in to comment.