summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-21 00:24:48 +0200
committerChristian Grothoff <christian@grothoff.org>2020-10-21 00:24:48 +0200
commitf9d91b18aa4e0a682500dc2c5c42d9cea034071f (patch)
treec94fec84bb58f59c343336359690d8f2f888c487
parent29d8c8cc4088c4d3fe4e362d0779e48d69ae7be3 (diff)
downloadwoocommerce-taler-f9d91b18aa4e0a682500dc2c5c42d9cea034071f.tar.gz
woocommerce-taler-f9d91b18aa4e0a682500dc2c5c42d9cea034071f.tar.bz2
woocommerce-taler-f9d91b18aa4e0a682500dc2c5c42d9cea034071f.zip
fix typo
-rw-r--r--plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
index 6522b95..9b6df13 100644
--- a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
+++ b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
@@ -418,7 +418,7 @@ function gnutaler_init_gateway_class() {
'limit_response_size' => 1024 * 1024, // More than enough.
);
if ( $body ) {
- $args['body'] = wp_json_encode( $body, JSON_UNESCAPED_SLASHES, 0, 16 );
+ $args['body'] = wp_json_encode( $body, JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES, 16 );
$args['headers'][] = 'Content-type: application/json';
$args['compress'] = true;
}