diff --git a/application/controllers/RechercheController.php b/application/controllers/RechercheController.php index c5871f633..0927faba0 100644 --- a/application/controllers/RechercheController.php +++ b/application/controllers/RechercheController.php @@ -350,7 +350,8 @@ class RechercheController extends Zend_Controller_Action if ($numVoie > 9999) { die('Numéro de voie incorrecte !'); } - $libVoie = preg_replace('/[^0-9A-Z]/', ' ', strtoupper($params['voie'])); + + $libVoie = cleanutf8($params['voie']); $cpVille = cleanutf8($params['cpVille']); if (preg_match("/^([0-9]{2,5})([\D]*)/i", $cpVille, $matches)) { @@ -376,8 +377,6 @@ class RechercheController extends Zend_Controller_Action //Criteres recherche dirigeants } else if ($type=='dir') { - Zend_Registry::get('firebug')->info('RECHERCHE DIRIGEANT'); - // Type de recherche = dirigeants $dirNom = preg_replace('/[^0-9A-Z]/', ' ', strtoupper($params['dirNom'])); $dirPrenom = preg_replace('/[^0-9A-Z]/', ' ', strtoupper($params['dirPrenom']));