Skip to content

Commit

Permalink
Fix str_getcsv(): the $escape parameter must be provided as its defau…
Browse files Browse the repository at this point in the history
…lt value will change in PHP 8.4
  • Loading branch information
ziming authored Jan 19, 2025
1 parent 1f8c869 commit d773150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tables/src/Concerns/CanSearchRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function applyColumnSearchesToTableQuery(Builder $query): Builder
protected function extractTableSearchWords(string $search): array
{
return array_filter(
str_getcsv(preg_replace('/\s+/', ' ', $search), ' '),
str_getcsv(preg_replace('/\s+/', ' ', $search), ' ', "\\"),
fn ($word): bool => filled($word),
);
}
Expand Down

0 comments on commit d773150

Please sign in to comment.