From 5e201deebd83fbb57f98ecf8d98a40a7f288258d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Wed, 15 Jun 2011 13:45:07 +0000 Subject: [PATCH] Fix: deprecated usage of & --- htdocs/webservices/server_supplier_invoice.php | 4 ++-- htdocs/webservices/server_thirdparty.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/webservices/server_supplier_invoice.php b/htdocs/webservices/server_supplier_invoice.php index e8bd3098acb..d0be6c74704 100755 --- a/htdocs/webservices/server_supplier_invoice.php +++ b/htdocs/webservices/server_supplier_invoice.php @@ -223,7 +223,7 @@ function getSupplierInvoice($authentication,$id='',$ref='',$ref_ext='') $objectresp=array(); $errorcode='';$errorlabel=''; $error=0; - $fuser=check_authentication($authentication,&$error,&$errorcode,&$errorlabel); + $fuser=check_authentication($authentication,$error,$errorcode,$errorlabel); // Check parameters if (! $error && (($id && $ref) || ($id && $ref_ext) || ($ref && $ref_ext))) { @@ -311,7 +311,7 @@ function getSupplierInvoicesForThirdParty($authentication,$idthirdparty) $objectresp=array(); $errorcode='';$errorlabel=''; $error=0; - $fuser=check_authentication($authentication,&$error,&$errorcode,&$errorlabel); + $fuser=check_authentication($authentication,$error,$errorcode,$errorlabel); // Check parameters if (! $error && empty($idthirdparty)) { diff --git a/htdocs/webservices/server_thirdparty.php b/htdocs/webservices/server_thirdparty.php index 75064c1cb13..ebd153681a1 100755 --- a/htdocs/webservices/server_thirdparty.php +++ b/htdocs/webservices/server_thirdparty.php @@ -152,7 +152,7 @@ function getThirdParty($authentication,$id='',$ref='',$ref_ext='') $objectresp=array(); $errorcode='';$errorlabel=''; $error=0; - $fuser=check_authentication($authentication,&$error,&$errorcode,&$errorlabel); + $fuser=check_authentication($authentication,$error,$errorcode,$errorlabel); // Check parameters if (! $error && (($id && $ref) || ($id && $ref_ext) || ($ref && $ref_ext))) { -- GitLab