From 3076bf7960191dbf6d7c96ab23228661a3758b1b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 1 Dec 2004 16:56:23 +0000 Subject: [PATCH] =?UTF-8?q?Ajoute=20renvoie=20de=200=20(ok)=20si=20le=20mo?= =?UTF-8?q?dule=20de=20verif=20n'est=20pas=20d=E9finit=20pour=20compatibil?= =?UTF-8?q?it=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/societe.class.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index 63c16d40fc7..5a637967f98 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -778,7 +778,10 @@ class Societe { $this->rib(); return $this->bank_account->verif(); } - + /** + * Renvoie 0 si ok + * + */ function check_codeclient() { if (defined('CODECLIENT_ADDON') && strlen(CODECLIENT_ADDON) > 0) @@ -792,7 +795,10 @@ class Societe { return $mod->verif($this->db, $this->code_client); } - + else + { + return 0; + } } }