Skip to content
Snippets Groups Projects
Commit c8addf5f authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2072599 by legolasbo: Remove Unused local variable from...

Issue #2072599 by legolasbo: Remove Unused local variable  from /core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php.
parent 4ec4bf57
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -282,7 +282,6 @@ protected function opContainsWord($field) {
$words = trim($match[2], ',?!();:-');
$words = $phrase ? array($words) : preg_split('/ /', $words, -1, PREG_SPLIT_NO_EMPTY);
foreach ($words as $word) {
$placeholder = $this->placeholder();
$where->condition($field, '%' . db_like(trim($word, " ,!?")) . '%', 'LIKE');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment