Update api_orders.class.php
This commit is contained in:
parent
7ac47fabda
commit
58a73e7b4c
@ -457,7 +457,7 @@ class Orders extends DolibarrApi
|
|||||||
*/
|
*/
|
||||||
function deleteContact($id, $rowid)
|
function deleteContact($id, $rowid)
|
||||||
{
|
{
|
||||||
if(!DolibarrApiAccess::$user->rights->comande->creer) {
|
if(!DolibarrApiAccess::$user->rights->commande->creer) {
|
||||||
throw new RestException(401);
|
throw new RestException(401);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user