Skip to content

Commit f43b251

Browse files
authored
Fixed escaped String for JSON_CONTAINS (#47244)
1 parent 4d48988 commit f43b251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Query/Grammars/Grammar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ protected function compileJsonContains($column, $value)
620620
*/
621621
public function prepareBindingForJsonContains($binding)
622622
{
623-
return json_encode($binding);
623+
return json_encode($binding, JSON_UNESCAPED_UNICODE);
624624
}
625625

626626
/**

0 commit comments

Comments
 (0)