From baaefed1f987f2b5c15b64fbe882a7994d042136 Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Tue, 20 Feb 2024 08:07:30 +0100 Subject: [PATCH] Add report configs to valid_type and type_db_name. --- src/manage_sql.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/manage_sql.c b/src/manage_sql.c index ad2a8d2d8..c39503e5f 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -3937,6 +3937,7 @@ valid_type (const char* type) || (strcasecmp (type, "permission") == 0) || (strcasecmp (type, "port_list") == 0) || (strcasecmp (type, "report") == 0) + || (strcasecmp (type, "report_config") == 0) || (strcasecmp (type, "report_format") == 0) || (strcasecmp (type, "result") == 0) || (strcasecmp (type, "role") == 0) @@ -3987,6 +3988,8 @@ type_db_name (const char* type) return "port_list"; if (strcasecmp (type, "Report") == 0) return "report"; + if (strcasecmp (type, "Report Config") == 0) + return "report_config"; if (strcasecmp (type, "Report Format") == 0) return "report_format"; if (strcasecmp (type, "Result") == 0)