Skip to content

Commit

Permalink
Merge pull request #2180 from greenbone/fix-delete-user-report-configs
Browse files Browse the repository at this point in the history
Fix: Fix SQL typo in delete_report_configs_user
  • Loading branch information
a-h-abdelsalam authored Apr 25, 2024
2 parents 8913552 + 79c8135 commit 6c286cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage_sql_report_configs.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ delete_report_configs_user (user_t user)
" WHERE report_config IN"
" (SELECT id FROM report_configs_trash WHERE owner = %llu)",
user);
sql ("DELETE report_configs_trash WHERE owner = %llu;", user);
sql ("DELETE FROM report_configs_trash WHERE owner = %llu;", user);
}

/**
Expand Down

0 comments on commit 6c286cc

Please sign in to comment.