diff --git a/src/Suggestion/Worker.php b/src/Suggestion/Worker.php index 4c2f208..5ae1db9 100644 --- a/src/Suggestion/Worker.php +++ b/src/Suggestion/Worker.php @@ -28,7 +28,7 @@ public function suggest($term = '', $language) { $term = preg_replace('(\s+$)u', '', $term); $activeTerm = strtolower($term); if (!preg_match('(\s|\\*)', $activeTerm)) { - $queryString = sprintf('%s*'. $this->connection()->escapeTerm($activeTerm)); + $queryString = sprintf('%s*', $this->connection()->escapeTerm($activeTerm)); } else { $queryString = $this->connection()->escapeTerm($activeTerm); }