diff --git a/CHANGELOG.md b/CHANGELOG.md index 191968592..a8194d52a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Removed OVAL definitions from GMP and gvmd documentation [1551](https://github.com/greenbone/gvmd/pull/1551) - Removed the Business Process Map from gvmd [1627](https://github.com/greenbone/gvmd/pull/1627) - Removed ifaces element from users [#1676](https://github.com/greenbone/gvmd/pull/1676) -- Removed OSP scanners from gvmd [#1689](https://github.com/greenbone/gvmd/pull/1689) [#1691](https://github.com/greenbone/gvmd/pull/1691) [#1694](https://github.com/greenbone/gvmd/pull/1694) +- Removed OSP scanners from gvmd [#1689](https://github.com/greenbone/gvmd/pull/1689) [#1691](https://github.com/greenbone/gvmd/pull/1691) [#1694](https://github.com/greenbone/gvmd/pull/1694) [#1701](https://github.com/greenbone/gvmd/pull/1701) [Unreleased]: https://github.com/greenbone/gvmd/compare/gvmd-21.04...master diff --git a/src/manage_sql_configs.c b/src/manage_sql_configs.c index 8e23b013a..6ca6b5870 100644 --- a/src/manage_sql_configs.c +++ b/src/manage_sql_configs.c @@ -2491,7 +2491,7 @@ create_config_internal (int check_access, const char *config_id, " creation_time, modification_time, usage_type, predefined)" " VALUES (%s%s%s, '%s'," " (SELECT id FROM users WHERE users.uuid = '%s')," - " '%s', '%s', '%s', m_now (), m_now (), '%s', %i);", + " '%s', '%s', m_now (), m_now (), '%s', %i);", config_id ? "'" : "", config_id ? config_id : "make_uuid ()", config_id ? "'" : "", @@ -2508,7 +2508,7 @@ create_config_internal (int check_access, const char *config_id, " creation_time, modification_time, usage_type, predefined)" " VALUES (%s%s%s, '%s'," " (SELECT id FROM users WHERE users.uuid = '%s')," - " '%s', '', '%s', m_now (), m_now (), '%s', %i);", + " '', '%s', m_now (), m_now (), '%s', %i);", config_id ? "'" : "", config_id ? config_id : "make_uuid ()", config_id ? "'" : "",