Skip to content

Commit dd04ee5

Browse files
committed
Updated to 1.1.4 version
1 parent 6f81de0 commit dd04ee5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Json/Json.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public static function fileToArray($file) {
6565

6666
$error = self::_jsonLastError();
6767

68-
return $array===false || isset($error['error-code']) ? false : $array;
68+
69+
return $array===null || isset($error['error-code']) ? false : $array;
6970
}
7071

7172
/**

0 commit comments

Comments
 (0)