Skip to content

Commit

Permalink
Fix: Fixed signal when choosing an unsupported levels filter option.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelmold authored and timopollmeier committed Sep 23, 2024
1 parent 1b45c1b commit 7a018fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -22358,6 +22358,8 @@ where_levels_auto (const char *levels, const char *new_severity_sql)
count++;
}

// HIERHIERHIER

if (count == 0)
{
g_string_free (levels_sql, TRUE);
Expand Down Expand Up @@ -23099,7 +23101,8 @@ results_extra_where (int trash, report_t report, const gchar* host,
extra_where = g_strdup_printf("%s%s%s%s%s",
report_clause ? report_clause : "",
host_clause ? host_clause : "",
levels_clause->str,
(levels_clause && levels_clause->str) ?
levels_clause->str : "",
min_qod_clause ? min_qod_clause : "",
compliance_levels_clause ?: "");

Expand Down

0 comments on commit 7a018fe

Please sign in to comment.