Update webpagetool.php
This commit is contained in:
parent
9c543c90c2
commit
0611d74150
|
|
@ -476,7 +476,7 @@ if(!function_exists("get_parsed_json")) {
|
|||
function get_parsed_json($raw, $options=array()) {
|
||||
$result = false;
|
||||
|
||||
if(!array_key_empty("stdClass", $options)) {
|
||||
if(!array_key_equals("stdClass", $options, false)) {
|
||||
$result = json_decode($raw);
|
||||
} else {
|
||||
$result = json_decode($raw, true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user