Suppression cleanstring
This commit is contained in:
parent
94fb6c79d9
commit
bf5c33b024
@ -290,6 +290,9 @@ class RechercheController extends Zend_Controller_Action
|
||||
$params = $recherche['params'];
|
||||
}
|
||||
|
||||
Zend_Registry::get('firebug')->info($type);
|
||||
Zend_Registry::get('firebug')->info($params);
|
||||
|
||||
//Giant
|
||||
if( !empty($params['pays']) && $type=='ent' ){
|
||||
$this->_forward('search', 'giant');
|
||||
@ -392,7 +395,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
$pays = $params['pays'];
|
||||
$pctMin = preg_replace('/[^0-9]/', '', trim($params['pctMin']));
|
||||
$pctMax = preg_replace('/[^0-9]/', '', trim($params['pctMax']));
|
||||
$cpVille = preg_replace('/ +/',' ', preg_replace('/[^0-9A-Z]/', ' ',strtoupper(cleanstring($params['cpVille']))));
|
||||
$cpVille = preg_replace('/ +/',' ', preg_replace('/[^0-9A-Z]/', ' ',strtoupper($params['cpVille'])));
|
||||
$reponse = $ws->searchAct($actNomRs, $cpVille, $siret, $pays, $pctMin, $pctMax, $position);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user