Suppression cleanstring

This commit is contained in:
Michael RICOIS 2011-08-17 16:10:45 +00:00
parent 94fb6c79d9
commit bf5c33b024

View File

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