Correction d'un empty pas bon.

This commit is contained in:
Damien LASSERRE 2012-02-16 10:03:24 +00:00
parent c5cdaa3e8c
commit fb2d7b2c4e

View File

@ -8,7 +8,8 @@ class Object_Formejuridique extends Libs_Row
$valeurs = explode(',', $session->getCritere('cj'));
foreach($valeurs as $valeur) {
$return[] = $valeur;
if($valeur != '')
$return[] = $valeur;
}
if(is_array($return))
return ($return);