Skip to content

Commit b29a13a

Browse files
committed
IHF: Decoding to assoc array.
1 parent 1b53a24 commit b29a13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function is_json($string, $return = false)
77
return false;
88
}
99

10-
$decoded = json_decode($string);
10+
$decoded = json_decode($string, true);
1111
if (json_last_error() != JSON_ERROR_NONE) {
1212
return false;
1313
}

0 commit comments

Comments
 (0)