From a34d3e6da8c3aa2bd1e043862a12c8a4bad90457 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 13 May 2013 15:38:17 +0000 Subject: [PATCH] issue #0001407 : Default value to fj --- application/controllers/RechercheController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/RechercheController.php b/application/controllers/RechercheController.php index 81ec19585..2ba2aa661 100644 --- a/application/controllers/RechercheController.php +++ b/application/controllers/RechercheController.php @@ -430,7 +430,7 @@ class RechercheController extends Zend_Controller_Action $criteres['telFax'] = $telFax; $criteres['naf'] = $naf; $criteres['siege'] = false; - $criteres['fj'] = $params['fj']; + $criteres['fj'] = array_key_exists('fj', $params) ? $params['fj'] : ''; //Affichage du filtre actif/inactif $filtres = array(