forked from Wavyzz/dolibarr
All methods set_draft() were renamed into setDraft()
This commit is contained in:
@@ -770,7 +770,7 @@ class Orders extends DolibarrApi
|
||||
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
||||
}
|
||||
|
||||
$result = $this->commande->set_draft(DolibarrApiAccess::$user, $idwarehouse);
|
||||
$result = $this->commande->setDraftDolibarrApiAccess::$user, $idwarehouse);
|
||||
if ($result == 0) {
|
||||
throw new RestException(304, 'Nothing done. May be object is already closed');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user