Fix mandatory field

This commit is contained in:
Laurent Destailleur 2019-11-09 19:01:03 +01:00
parent ea39ec21bb
commit 274ddaa1be
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)