[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: allow patch template to edit whe
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: allow patch template to edit when image is null |
Date: |
Thu, 02 Feb 2023 11:26:34 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 2e396232 allow patch template to edit when image is null
2e396232 is described below
commit 2e3962325c2df01f36423cbc979ea08c1cb6eeaf
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Thu Feb 2 05:26:19 2023 -0500
allow patch template to edit when image is null
---
src/backend/.#taler-merchant-httpd.c | 1 -
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,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.