Skip to content

Commit

Permalink
Merge pull request #685 from mattmundell/ticket-orphan-assignment
Browse files Browse the repository at this point in the history
Fix assignment of orphaned tickets to the current user
  • Loading branch information
timopollmeier authored Aug 13, 2019
2 parents 489cbcb + 69b98a3 commit 2417e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix GET_SYSTEM_REPORTS using slave_id [#668](https://github.com/greenbone/gvmd/pull/668)
- Fix RAW_DATA when calling GET_INFO with type NVT without attributes name or info_id [#682](https://github.com/greenbone/gvmd/pull/682)
- Fix ORPHAN calculation in GET_TICKETS [#684](https://github.com/greenbone/gvmd/pull/684)
- Fix assignment of orphaned tickets to the current user [#685](https://github.com/greenbone/gvmd/pull/685)

### Removed
- The handling of NVT updates via OTP has been removed. [#575](https://github.com/greenbone/gvmd/pull/575)
Expand Down
2 changes: 1 addition & 1 deletion src/manage_sql_tickets.c
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ modify_ticket (const gchar *ticket_id, const gchar *comment,
}

task = ticket_task (ticket);
if (task)
if (task && (task > 0))
{
char *task_id;

Expand Down

0 comments on commit 2417e16

Please sign in to comment.