Skip to content

Commit

Permalink
Fixed escaped String for JSON_CONTAINS
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsky committed May 26, 2023
1 parent 4d48988 commit d530827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Query/Grammars/Grammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ protected function compileJsonContains($column, $value)
*/
public function prepareBindingForJsonContains($binding)
{
return json_encode($binding);
return json_encode($binding, JSON_UNESCAPED_UNICODE);
}

/**
Expand Down

0 comments on commit d530827

Please sign in to comment.