diff options
-rw-r--r-- | src/backend/taler-merchant-httpd_proposal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_proposal.c b/src/backend/taler-merchant-httpd_proposal.c index e117b507..17b75786 100644 --- a/src/backend/taler-merchant-httpd_proposal.c +++ b/src/backend/taler-merchant-httpd_proposal.c @@ -274,7 +274,10 @@ proposal_put (struct MHD_Connection *connection, instance = json_string_value (json_object_get (order, "instance")); - if (NULL != instance) + + if (NULL == instance) + instance = "default"; + { // The frontend either fully specifieds the "merchant" field, or just gives // the backend the "instance" name and lets it fill out. |