Update webpagetool.php

This commit is contained in:
Namhyeon Go 2018-10-21 03:56:07 +09:00 committed by GitHub
parent bb820d9be6
commit f16e8f29da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,7 @@ if(!function_exists("get_web_json")) {
$response = get_web_page($url, $method, $data, $proxy, $ua, $ct_out, $t_out);
if($response['size'] > 0) {
$result = get_parsed_json($response['content'], "stdClass");
$result = get_parsed_json($response['content'], array("stdClass" => true));
}
return $result;