diff options
author | priscilla <priscilla.huang@efrei.net> | 2023-02-02 05:26:19 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2023-02-02 05:26:19 -0500 |
commit | 2e3962325c2df01f36423cbc979ea08c1cb6eeaf (patch) | |
tree | 07f664eab9606f6fb3688c5f6d28ec0b2b69b7b1 /src | |
parent | ded3b469c3f1ee6e8ebe43ad8788fb62c41e48af (diff) |
allow patch template to edit when image is null
Diffstat (limited to 'src')
l--------- | src/backend/.#taler-merchant-httpd.c | 1 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_helper.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/.#taler-merchant-httpd.c b/src/backend/.#taler-merchant-httpd.c deleted file mode 120000 index 37ec71da..00000000 --- a/src/backend/.#taler-merchant-httpd.c +++ /dev/null @@ -1 +0,0 @@ -priscilla@dhcp-147-87-107-42.2280:1675328542
\ No newline at end of file diff --git a/src/backend/taler-merchant-httpd_helper.c b/src/backend/taler-merchant-httpd_helper.c index f6f80d1c..56a11d94 100644 --- a/src/backend/taler-merchant-httpd_helper.c +++ b/src/backend/taler-merchant-httpd_helper.c @@ -296,7 +296,9 @@ bool TMH_image_data_url_valid (const char *image_data_url) { if (0 == strcmp (image_data_url, - NULL)) + "")) + return true; + if (NULL == image_data_url) return true; if (0 != strncasecmp ("data:image/", image_data_url, |