Fix: deprecated usage of &
This commit is contained in:
parent
a82262a7e0
commit
5e201deebd
@ -223,7 +223,7 @@ function getSupplierInvoice($authentication,$id='',$ref='',$ref_ext='')
|
|||||||
$objectresp=array();
|
$objectresp=array();
|
||||||
$errorcode='';$errorlabel='';
|
$errorcode='';$errorlabel='';
|
||||||
$error=0;
|
$error=0;
|
||||||
$fuser=check_authentication($authentication,&$error,&$errorcode,&$errorlabel);
|
$fuser=check_authentication($authentication,$error,$errorcode,$errorlabel);
|
||||||
// Check parameters
|
// Check parameters
|
||||||
if (! $error && (($id && $ref) || ($id && $ref_ext) || ($ref && $ref_ext)))
|
if (! $error && (($id && $ref) || ($id && $ref_ext) || ($ref && $ref_ext)))
|
||||||
{
|
{
|
||||||
@ -311,7 +311,7 @@ function getSupplierInvoicesForThirdParty($authentication,$idthirdparty)
|
|||||||
$objectresp=array();
|
$objectresp=array();
|
||||||
$errorcode='';$errorlabel='';
|
$errorcode='';$errorlabel='';
|
||||||
$error=0;
|
$error=0;
|
||||||
$fuser=check_authentication($authentication,&$error,&$errorcode,&$errorlabel);
|
$fuser=check_authentication($authentication,$error,$errorcode,$errorlabel);
|
||||||
// Check parameters
|
// Check parameters
|
||||||
if (! $error && empty($idthirdparty))
|
if (! $error && empty($idthirdparty))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -152,7 +152,7 @@ function getThirdParty($authentication,$id='',$ref='',$ref_ext='')
|
|||||||
$objectresp=array();
|
$objectresp=array();
|
||||||
$errorcode='';$errorlabel='';
|
$errorcode='';$errorlabel='';
|
||||||
$error=0;
|
$error=0;
|
||||||
$fuser=check_authentication($authentication,&$error,&$errorcode,&$errorlabel);
|
$fuser=check_authentication($authentication,$error,$errorcode,$errorlabel);
|
||||||
// Check parameters
|
// Check parameters
|
||||||
if (! $error && (($id && $ref) || ($id && $ref_ext) || ($ref && $ref_ext)))
|
if (! $error && (($id && $ref) || ($id && $ref_ext) || ($ref && $ref_ext)))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user