Skip to content

Commit

Permalink
Merge pull request #545 from mattmundell/modify-alert-email-validatio…
Browse files Browse the repository at this point in the history
…n-8.0

Correct variable in modify_alert (8.0)
  • Loading branch information
mattmundell authored May 13, 2019
2 parents 1fb8e12 + 6bd237b commit 82144d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -8118,7 +8118,7 @@ modify_alert (const char *alert_id, const char *name, const char *comment,
data_name = sql_quote (item);
data = sql_quote (item + strlen (item) + 1);

ret = validate_email_data (method, name, &data, 1);
ret = validate_email_data (method, data_name, &data, 1);
if (ret)
{
g_free (data_name);
Expand Down

0 comments on commit 82144d0

Please sign in to comment.