Browse Source

fix wrong input chars decoding by flag JSON_INVALID_UTF8_IGNORE

main
ghost 3 years ago
parent
commit
7e598c3718
  1. 2
      src/system/curl.php

2
src/system/curl.php

@ -80,7 +80,7 @@ class Curl {
if ($response) { if ($response) {
if ($json) { if ($json) {
return json_decode($response, true); return json_decode($response, true, 512, JSON_INVALID_UTF8_IGNORE);
} else { } else {
return $response; return $response;
} }

Loading…
Cancel
Save