1
0
Fork 0

Use "0" as default

This commit is contained in:
Michael 2020-07-13 16:24:44 +00:00
parent baea99dee6
commit bbb2f1fcf5

View file

@ -140,7 +140,7 @@ class System
* @param string $content_type Type of the input (Default: 'application/json').
* @param integer $options JSON options
*/
public static function jsonExit($x, $content_type = 'application/json', int $options = null) {
public static function jsonExit($x, $content_type = 'application/json', int $options = 0) {
header("Content-type: $content_type");
echo json_encode($x, $options);
exit();