Fix: deprecated usage of &

This commit is contained in:
Laurent Destailleur
2011-06-15 13:45:07 +00:00
parent a82262a7e0
commit 5e201deebd
2 changed files with 3 additions and 3 deletions

View File

@@ -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))
{

View File

@@ -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)))
{