From d8b1535bd9048199d01382ddccf136d87a383402 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Tue, 11 Jan 2005 20:30:55 +0000
Subject: [PATCH] =?UTF-8?q?Fix:=20M=E9thode=20de=20passage=20de=20param=E8?=
 =?UTF-8?q?tres=20non=20accept=E9=20par=20les=20versions=20r=E9centes=20de?=
 =?UTF-8?q?=20php,=20modifier=20selon=20la=20m=E9thode=20non=20deprecated.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/includes/modules/societe/mod_codeclient_zebre.php | 2 +-
 htdocs/societe.class.php                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/includes/modules/societe/mod_codeclient_zebre.php b/htdocs/includes/modules/societe/mod_codeclient_zebre.php
index 77c68c12e09..2767da61773 100644
--- a/htdocs/includes/modules/societe/mod_codeclient_zebre.php
+++ b/htdocs/includes/modules/societe/mod_codeclient_zebre.php
@@ -51,7 +51,7 @@ class mod_codeclient_zebre
    *
    */
 
-  function verif($db, $code, $socid=0)
+  function verif($db, &$code, $socid=0)
     { 
       $code = strtoupper(trim($code));
 
diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php
index dd924fe13be..297c868b761 100644
--- a/htdocs/societe.class.php
+++ b/htdocs/societe.class.php
@@ -1030,7 +1030,7 @@ class Societe {
 
 	$mod = new $var;
 
-	return $mod->verif($this->db, &$this->code_client);
+	return $mod->verif($this->db, $this->code_client);
       }
     else
       {
-- 
GitLab