From e4e6274ee4c56e52aaffdac921f4bd64b5dc2d85 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 15 Mar 2016 14:45:21 +0000 Subject: [PATCH] RNVP : Use only sdtClass --- scripts/jobs/enrichissement.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/jobs/enrichissement.php b/scripts/jobs/enrichissement.php index 53e1d173..d102cea7 100644 --- a/scripts/jobs/enrichissement.php +++ b/scripts/jobs/enrichissement.php @@ -1290,10 +1290,11 @@ function AdresseNormaliseData($siren, $nic, $values = false) } catch (Zend_Db_Exception $e) {} + $infoRNVP = null; + try { $rnvp = new SdMetier_Rnvp_Adresse(); $rnvp->setCompanyId($companyId); - $infoRNVP = new Rnvp(); $infoRNVP = $rnvp->format(); } catch (Exception $e) {}