Skip to content

Commit

Permalink
fix #606
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Oct 21, 2020
1 parent 95c9005 commit 3a2359a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Support/JavaScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ public static function delete(string $id)
*/
public static function format($value)
{
if (! $value) {
return $value;
}

if (is_array($value) || is_object($value)) {
$value = json_encode(Helper::array($value));
}
Expand Down

0 comments on commit 3a2359a

Please sign in to comment.