Commit c8addf5f authored by webchick's avatar webchick

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
......@@ -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');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment