Fix mandatory field
This commit is contained in:
parent
ea39ec21bb
commit
274ddaa1be
@ -617,7 +617,7 @@ class Documents extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url DELETE /
|
* @url DELETE /
|
||||||
*/
|
*/
|
||||||
public function delete($modulepart, $original_file = '')
|
public function delete($modulepart, $original_file)
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
|
|||||||
@ -346,7 +346,7 @@ class Products extends DolibarrApi
|
|||||||
/**
|
/**
|
||||||
* Delete product
|
* Delete product
|
||||||
*
|
*
|
||||||
* @param int $id Product ID
|
* @param int $id Product ID
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function delete($id)
|
public function delete($id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user