diff --git a/src/manage_sql.c b/src/manage_sql.c index ce5a0b780..018bc40a0 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -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.