diff --git a/src/Support/JavaScript.php b/src/Support/JavaScript.php index 7966e5e35..7fe4a1448 100644 --- a/src/Support/JavaScript.php +++ b/src/Support/JavaScript.php @@ -77,7 +77,7 @@ public static function delete(string $id) public static function format($value) { if (is_array($value) || is_object($value)) { - $value = json_encode(Helper::array($value)); + $value = json_encode(Helper::array($value, false)); } foreach (static::all() as $id => $script) {