From 267d9c931b4697625d6b4299773ef689e52a1904 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 16 Aug 2011 10:34:42 +0000 Subject: [PATCH] Correction NumRM --- library/Scores/IdentiteEntreprise.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Scores/IdentiteEntreprise.php b/library/Scores/IdentiteEntreprise.php index e93315b96..eabd792ff 100644 --- a/library/Scores/IdentiteEntreprise.php +++ b/library/Scores/IdentiteEntreprise.php @@ -105,7 +105,7 @@ class IdentiteEntreprise if (!empty($this->identite->NumRC) && preg_match('/(P)/i', $this->identite->NumRC)) return 'Numéro R.S.A.C.'; - if (!empty($this->identite->numRM)) + if (!empty($this->identite->NumRM)) return 'Répertoire des métiers'; } public function getNumRCTexte() @@ -120,8 +120,8 @@ class IdentiteEntreprise return $this->identite->NumRC.$libTrib; } - if (!empty($this->identite->numRM)){ - return $this->identite->numRM; + if (!empty($this->identite->NumRM)){ + return $this->identite->NumRM; } return false; }