diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-templates.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) ); } |