Suppression condition
This commit is contained in:
parent
033d01ed62
commit
f78b64f59c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user