commit f5392553d32ca23be7b4c4238b1fa1546c242fc9 parent 0f33b9f44e6487c2ee5fa3d5da2a561165feddd4 Author: Christian Grothoff <christian@grothoff.org> Date: Fri, 9 Oct 2026 23:49:19 +0200 parse quantities even if selected_all is set Diffstat:
| M | src/backend/taler-merchant-httpd_post-templates-TEMPLATE_ID.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-templates-TEMPLATE_ID.c b/src/backend/taler-merchant-httpd_post-templates-TEMPLATE_ID.c @@ -1108,8 +1108,6 @@ verify_using_templates_inventory (struct UseContext *uc) "inventory_selection"); return GNUNET_SYSERR; } - if (uc->template_contract.details.inventory.selected_all) - return GNUNET_OK; for (unsigned int i = 0; i < uc->parse_request.inventory.items_len; i++) @@ -1166,6 +1164,8 @@ verify_using_templates_inventory (struct UseContext *uc) } } + if (uc->template_contract.details.inventory.selected_all) + return GNUNET_OK; for (unsigned int i = 0; i < uc->parse_request.inventory.items_len; i++)