From 05f43c2ad20c30c8091318ec0c8587515c4971bc Mon Sep 17 00:00:00 2001 From: priscilla Date: Mon, 30 Jan 2023 09:54:45 -0500 Subject: update --- src/backend/taler-merchant-httpd_private-post-templates.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c') diff --git a/src/backend/taler-merchant-httpd_private-post-templates.c b/src/backend/taler-merchant-httpd_private-post-templates.c index 770f8730..9cc33eaa 100644 --- a/src/backend/taler-merchant-httpd_private-post-templates.c +++ b/src/backend/taler-merchant-httpd_private-post-templates.c @@ -48,9 +48,9 @@ templates_equal (const struct TALER_MERCHANTDB_TemplateDetails *t1, return ( (0 == strcmp (t1->template_description, t2->template_description)) && ( ( (NULL == t1->image) && (NULL == t2->image) ) || - ( (NULL != t1->image) && (NULL != t2->image) ) && + ( (NULL != t1->image) && (NULL != t2->image) && (0 == strcmp (t1->image, - t2->image)) ) && + t2->image)) ) ) && (1 == json_equal (t1->template_contract, t2->template_contract)) ); } -- cgit v1.2.3