Skip to content

Commit

Permalink
Merge pull request #2309 from greenbone/mergify/bp/oldstable/pr-2305
Browse files Browse the repository at this point in the history
Fix: Fix the check for including notes and overrides in results (backport #2305)
  • Loading branch information
a-h-abdelsalam authored Oct 15, 2024
2 parents 32b5bca + 8f0d537 commit 6631e8b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -9727,16 +9727,16 @@ buffer_results_xml (GString *buffer, iterator_t *results, task_t task,
buffer_xml_append_printf (buffer, "<compliance>%s</compliance>", compliance);

if (include_notes
&& use_delta_fields
? result_iterator_delta_may_have_notes (results)
: result_iterator_may_have_notes (results))
&& (use_delta_fields
? result_iterator_delta_may_have_notes (results)
: result_iterator_may_have_notes (results)))
buffer_result_notes_xml (buffer, result,
selected_task, include_notes_details, lean);

if (include_overrides
&& use_delta_fields
? result_iterator_delta_may_have_overrides (results)
: result_iterator_may_have_overrides (results))
&& (use_delta_fields
? result_iterator_delta_may_have_overrides (results)
: result_iterator_may_have_overrides (results)))
buffer_result_overrides_xml (buffer, result,
selected_task, include_overrides_details,
lean);
Expand Down

0 comments on commit 6631e8b

Please sign in to comment.