From 0611d741503f489d0f2ea8c0f16c326438ca6976 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Thu, 13 Dec 2018 12:54:57 +0900 Subject: [PATCH] Update webpagetool.php --- helper/webpagetool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/webpagetool.php b/helper/webpagetool.php index e754fd6..168a878 100644 --- a/helper/webpagetool.php +++ b/helper/webpagetool.php @@ -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);