From e99e7973dfbdeaf02c7a13a3314d5b00ff3f3c20 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 18 Mar 2011 10:05:16 +0000 Subject: [PATCH] Fix: Parameter pb. --- htdocs/webservices/server_invoice.php | 2 +- htdocs/webservices/server_thirdparty.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/webservices/server_invoice.php b/htdocs/webservices/server_invoice.php index ff82b33d4db..b218fefe070 100755 --- a/htdocs/webservices/server_invoice.php +++ b/htdocs/webservices/server_invoice.php @@ -191,7 +191,7 @@ $ns /** * Get invoice from id, ref or ref_ext */ -function getInvoice($authentication,$id,$ref,$ref_ext) +function getInvoice($authentication,$id='',$ref='',$ref_ext='') { global $db,$conf,$langs; diff --git a/htdocs/webservices/server_thirdparty.php b/htdocs/webservices/server_thirdparty.php index 996b84a6542..62b6d6bb65d 100755 --- a/htdocs/webservices/server_thirdparty.php +++ b/htdocs/webservices/server_thirdparty.php @@ -126,7 +126,7 @@ $ns // Full methods code -function getThirdParty($authentication,$id,$ref,$ref_ext) +function getThirdParty($authentication,$id='',$ref='',$ref_ext='') { global $db,$conf,$langs;