Update webpagetool.php
This commit is contained in:
parent
bb820d9be6
commit
f16e8f29da
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user