From 82f0d8a3bc8dfdcacc7cf47f9ec458ee04486367 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Mar 2020 17:38:47 +0100 Subject: [PATCH] Fix bad params --- htdocs/comm/propal/class/api_proposals.class.php | 6 +++--- htdocs/commande/class/api_orders.class.php | 6 +++--- htdocs/compta/facture/class/api_invoices.class.php | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/comm/propal/class/api_proposals.class.php b/htdocs/comm/propal/class/api_proposals.class.php index 1530f9ada69..9326082b193 100644 --- a/htdocs/comm/propal/class/api_proposals.class.php +++ b/htdocs/comm/propal/class/api_proposals.class.php @@ -65,7 +65,7 @@ class Proposals extends DolibarrApi */ public function get($id, $contact_list = 1) { - return $this->_fetch($id, '', '', '', $contact_list); + return $this->_fetch($id, '', '', $contact_list); } /** @@ -83,7 +83,7 @@ class Proposals extends DolibarrApi */ public function getByRef($ref, $contact_list = 1) { - return $this->_fetch('', $ref, '', '', $contact_list); + return $this->_fetch('', $ref, '', $contact_list); } /** @@ -101,7 +101,7 @@ class Proposals extends DolibarrApi */ public function getByRefExt($ref_ext, $contact_list = 1) { - return $this->_fetch('', '', $ref_ext, '', $contact_list); + return $this->_fetch('', '', $ref_ext, $contact_list); } /** diff --git a/htdocs/commande/class/api_orders.class.php b/htdocs/commande/class/api_orders.class.php index b63086cb51c..03cdf990071 100644 --- a/htdocs/commande/class/api_orders.class.php +++ b/htdocs/commande/class/api_orders.class.php @@ -64,7 +64,7 @@ class Orders extends DolibarrApi */ public function get($id, $contact_list = 1) { - return $this->_fetch($id, '', '', '', $contact_list); + return $this->_fetch($id, '', '', $contact_list); } /** @@ -82,7 +82,7 @@ class Orders extends DolibarrApi */ public function getByRef($ref, $contact_list = 1) { - return $this->_fetch('', $ref, '', '', $contact_list); + return $this->_fetch('', $ref, '', $contact_list); } /** @@ -100,7 +100,7 @@ class Orders extends DolibarrApi */ public function getByRefExt($ref_ext, $contact_list = 1) { - return $this->_fetch('', '', $ref_ext, '', $contact_list); + return $this->_fetch('', '', $ref_ext, $contact_list); } /** diff --git a/htdocs/compta/facture/class/api_invoices.class.php b/htdocs/compta/facture/class/api_invoices.class.php index 2c6d4c92662..969d351d1bb 100644 --- a/htdocs/compta/facture/class/api_invoices.class.php +++ b/htdocs/compta/facture/class/api_invoices.class.php @@ -64,7 +64,7 @@ class Invoices extends DolibarrApi */ public function get($id, $contact_list = 1) { - return $this->_fetch($id, '', '', '', $contact_list); + return $this->_fetch($id, '', '', $contact_list); } /** @@ -82,7 +82,7 @@ class Invoices extends DolibarrApi */ public function getByRef($ref, $contact_list = 1) { - return $this->_fetch('', $ref, '', '', $contact_list); + return $this->_fetch('', $ref, '', $contact_list); } /** @@ -100,7 +100,7 @@ class Invoices extends DolibarrApi */ public function getByRefExt($ref_ext, $contact_list = 1) { - return $this->_fetch('', '', $ref_ext, '', $contact_list); + return $this->_fetch('', '', $ref_ext, $contact_list); } /**