fix : search bar v2

This commit is contained in:
Grégoire
2019-12-30 13:20:11 +01:00
parent 1a9fff778a
commit db084707bb
@@ -310,7 +310,7 @@ class AdController extends Controller
$session->remove('contratSearch');
}
$adSearcher = $this->get('app.ad_searcher');
$ads = array();$adSearcher->process($data);
$ads = $adSearcher->process($data);
if(empty($ads)){
$ads = $this->getPublishedAds($promoted);
$noResults = true;