aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_helper.c')
-rw-r--r--src/backend/taler-merchant-httpd_helper.c4
1 files changed, 3 insertions, 1 deletions
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,