Correction test
This commit is contained in:
parent
051747b335
commit
4427663e1e
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user