summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-05-11 15:47:44 -0300
committerSebastian <sebasjm@gmail.com>2022-05-11 15:51:13 -0300
commit3670a0624142ceddc9cab82146f0695456d2e25b (patch)
treecaaeb69749ac54b3d5f73d7880890f0382c47af9 /src/backend
parent4b77ed9f39cd0512735dee9f4f9daeb80f4c1f97 (diff)
downloadmerchant-3670a0624142ceddc9cab82146f0695456d2e25b.tar.gz
merchant-3670a0624142ceddc9cab82146f0695456d2e25b.tar.bz2
merchant-3670a0624142ceddc9cab82146f0695456d2e25b.zip
fix: order is "refund_pending" if any of the refund is pending
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index 58c05604..eeb16e6f 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -801,7 +801,7 @@ process_refunds_cb (void *cls,
&gorc->refund_amount,
refund_amount));
gorc->refunded = true;
- gorc->refund_pending = pending;
+ gorc->refund_pending |= pending;
}