Skip to content

Commit

Permalink
Fixed escaped String for JSON_CONTAINS (#47244)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsky authored May 29, 2023
1 parent 4d48988 commit f43b251
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 f43b251

Please sign in to comment.