Fix bad params

This commit is contained in:
Laurent Destailleur 2020-03-09 17:38:47 +01:00
parent ca4c62be56
commit 82f0d8a3bc
3 changed files with 9 additions and 9 deletions

View File

@ -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);
}
/**

View File

@ -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);
}
/**

View File

@ -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);
}
/**