Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored and greg0ire committed Dec 19, 2017
1 parent 68ea392 commit fb197da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filter/TranslationFieldFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function filter(ProxyQueryInterface $queryBuilder, $alias, $field, $data)
return;
}

$data['value'] = trim($data['value']);
$data['value'] = trim((string) $data['value']);

if (0 == strlen($data['value'])) {
return;
Expand Down

0 comments on commit fb197da

Please sign in to comment.