From 3132c639d5c9f25c398ecf3e4781ea869f4dc027 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 8 Oct 2012 09:50:41 +0000 Subject: [PATCH] =?UTF-8?q?issue=20#0001385=20:=20Correction=20affichage?= =?UTF-8?q?=20privil=C3=A8ges=20d=C3=A9tails?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/WsScore/Interne/v0.2/Interne.php | 2 +- library/WsScore/Interne/v0.3/Interne.php | 2 +- library/WsScore/Interne/v0.4/Interne.php | 2 +- library/WsScore/Interne/v0.5/Interne.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/WsScore/Interne/v0.2/Interne.php b/library/WsScore/Interne/v0.2/Interne.php index aea7b9b4..9a2996db 100644 --- a/library/WsScore/Interne/v0.2/Interne.php +++ b/library/WsScore/Interne/v0.2/Interne.php @@ -22,7 +22,7 @@ class Interne extends WsScore $ret = $iPriv->getPrivilegesDetail($siren, $tabTypes); //@todo : date $tabRet = array(); - if (count($tabRet)>0) { + if (count($ret)>0) { foreach ($ret as $item ) { $privileges = new PrivilegesDetail(); $privileges->numDebiteur = $item['numDebiteur']; diff --git a/library/WsScore/Interne/v0.3/Interne.php b/library/WsScore/Interne/v0.3/Interne.php index d13a87f1..016103e5 100644 --- a/library/WsScore/Interne/v0.3/Interne.php +++ b/library/WsScore/Interne/v0.3/Interne.php @@ -20,7 +20,7 @@ class Interne extends WsScore $ret = $iPriv->getPrivilegesDetail($siren, $tabTypes); //@todo : date $tabRet = array(); - if (count($tabRet)>0) { + if (count($ret)>0) { foreach ($ret as $item ) { $privileges = new PrivilegesDetail(); $privileges->numDebiteur = $item['numDebiteur']; diff --git a/library/WsScore/Interne/v0.4/Interne.php b/library/WsScore/Interne/v0.4/Interne.php index d18fcddd..d7d08988 100644 --- a/library/WsScore/Interne/v0.4/Interne.php +++ b/library/WsScore/Interne/v0.4/Interne.php @@ -20,7 +20,7 @@ class Interne extends WsScore $ret = $iPriv->getPrivilegesDetail($siren, $tabTypes); //@todo : date $tabRet = array(); - if (count($tabRet)>0) { + if (count($ret)>0) { foreach ($ret as $item ) { $privileges = new PrivilegesDetail(); $privileges->numDebiteur = $item['numDebiteur']; diff --git a/library/WsScore/Interne/v0.5/Interne.php b/library/WsScore/Interne/v0.5/Interne.php index 233654e0..afbc783b 100644 --- a/library/WsScore/Interne/v0.5/Interne.php +++ b/library/WsScore/Interne/v0.5/Interne.php @@ -20,7 +20,7 @@ class Interne extends WsScore $ret = $iPriv->getPrivilegesDetail($siren, $tabTypes); //@todo : date $tabRet = array(); - if (count($tabRet)>0) { + if (count($ret)>0) { foreach ($ret as $item ) { $privileges = new PrivilegesDetail(); $privileges->numDebiteur = $item['numDebiteur'];