From ec8d2e31bb605203fba2b5729eff68f4f858fd74 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 10 Jul 2015 10:03:05 +0000 Subject: [PATCH] Correction annonces legales --- library/Metier/insee/classMInsee.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Metier/insee/classMInsee.php b/library/Metier/insee/classMInsee.php index 2b45cbbb..024732fd 100644 --- a/library/Metier/insee/classMInsee.php +++ b/library/Metier/insee/classMInsee.php @@ -4226,7 +4226,7 @@ class MInsee $where.=" AND e.ROLE IN('".implode("','",$tabCodRol)."') "; } } - else { + elseif ( !empty($rubrique) ) { return false; } } @@ -4258,7 +4258,7 @@ class MInsee $where.= implode(' OR ',$tabTmp); $where.= ')'; } - else { + elseif ( !empty($rubrique) ) { return false; } }