diff --git a/CHANGELOG.md b/CHANGELOG.md index f4aac0360..683e1f728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Auto delete at the start of scheduling so it always runs [#1302](https://github.com/greenbone/gvmd/pull/1302) - Fix create_credential for snmpv3. [#1305](https://github.com/greenbone/gvmd/pull/1305) - Remove extra spaces when parsing report format param type [#1309](https://github.com/greenbone/gvmd/pull/1309) +- Correct arg to alert_uuid [#1313](https://github.com/greenbone/gvmd/pull/1313) ### Removed - Remove DROP from vulns creation [#1281](http://github.com/greenbone/gvmd/pull/1281) diff --git a/src/manage_sql.c b/src/manage_sql.c index ba8edd5e5..778071f55 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -11138,7 +11138,7 @@ alert_subject_print (const gchar *subject, event_t event, case 'U': { /* Alert UUID */ - char *uuid = alert_uuid (task); + char *uuid = alert_uuid (alert); g_string_append (new_subject, uuid); free (uuid); break; @@ -11378,7 +11378,7 @@ alert_message_print (const gchar *message, event_t event, case 'U': { /* Alert UUID */ - char *uuid = alert_uuid (task); + char *uuid = alert_uuid (alert); g_string_append (new_message, uuid); free (uuid); break;