Suppression condition

This commit is contained in:
Michael RICOIS 2016-05-12 15:23:29 +02:00
parent 033d01ed62
commit f78b64f59c

View File

@ -162,19 +162,12 @@ class Search_EntrepriseController extends Zend_Controller_Action
if (!empty($value)) $criteresTexte.= $value.' ';
}
$criteresTexte = trim($criteresTexte);
$params['controller'] = 'recherche';
if ($type=='ent'){
$params['action'] = 'entreprise';
} elseif ($type=='dir') {
$params['action'] = 'dirigeant';
} elseif ($type=='act'){
$params['action'] = 'actionnaire';
}
$params['action'] = 'entreprise';
foreach ($params as $key => $param) {
$params[$key] = str_replace('/', ' ', $params[$key]);
}
$criteresLien = $this->view->url($params, 'default', true);
$criteresLien = $this->view->url($params);
$liste = array();
if (count($etabs)>0) {