Correction test

This commit is contained in:
Michael RICOIS 2011-10-25 09:21:37 +00:00
parent 051747b335
commit 4427663e1e

View File

@ -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);