diff --git a/controllers/front/SearchController.php b/controllers/front/SearchController.php index af8ccea0c..3e1a543a2 100644 --- a/controllers/front/SearchController.php +++ b/controllers/front/SearchController.php @@ -88,6 +88,7 @@ class SearchControllerCore extends FrontController $this->productSort(); $this->n = abs((int)(Tools::getValue('n', Configuration::get('PS_PRODUCTS_PER_PAGE')))); $this->p = abs((int)(Tools::getValue('p', 1))); + $query = Tools::replaceAccentedChars(urldecode($query)); $search = Search::find($this->context->language->id, $query, $this->p, $this->n, $this->orderBy, $this->orderWay); Hook::exec('actionSearch', array('expr' => $query, 'total' => $search['total'])); $nbProducts = $search['total'];