Skip to content

Commit

Permalink
Fix: Fix the check for including notes and overrides in results
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Oct 10, 2024
1 parent 13d9083 commit c0aa006
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 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))
buffer_result_notes_xml (buffer, result,
selected_task, include_notes_details, lean);
&& (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 c0aa006

Please sign in to comment.