diff --git a/application/controllers/RechercheController.php b/application/controllers/RechercheController.php index 0927faba0..ec437b837 100644 --- a/application/controllers/RechercheController.php +++ b/application/controllers/RechercheController.php @@ -398,6 +398,7 @@ class RechercheController extends Zend_Controller_Action $dirCpVille = preg_replace('/ +/',' ', preg_replace('/[^0-9A-Z]/', ' ', strtoupper($formR['dirCpVille'])) ); + /* if (preg_match('/^([0-9]{2,5})([\D]+)/i', $dirCpVille, $matches)) { $dirCp = trim($matches[1]); @@ -405,13 +406,14 @@ class RechercheController extends Zend_Controller_Action } else { $dirVille = trim($dirCpVille); - } + }*/ $criteres = array(); $criteres['dirNom'] = $dirNom; $criteres['dirPrenom'] = $dirPrenom; $criteres['dirDateNaiss'] = $dirDateNaiss; - $criteres['lieuNaiss'] = $dirVille; + + $criteres['lieuNaiss'] = $dirCpVille; $reponse = $ws->searchDir($criteres, $position);