Update database.php
This commit is contained in:
parent
2bf0f8b17b
commit
5c0dc3cafc
|
|
@ -513,7 +513,7 @@ if(!check_function_exists("json_decode_to_assoc")) {
|
|||
);
|
||||
|
||||
$error = check_invaild_function($invalid_fn);
|
||||
if($error == -1) {
|
||||
if($error < 0) {
|
||||
$obj = @json_decode($data, true);
|
||||
$result = (@json_last_error() === 0) ? $obj : $result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user