Update webpagetool.php

This commit is contained in:
Namhyeon Go 2018-12-13 12:54:57 +09:00 committed by GitHub
parent 9c543c90c2
commit 0611d74150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);