Update api_orders.class.php

This commit is contained in:
ptibogxiv 2019-02-14 00:42:00 +01:00 committed by GitHub
parent 7ac47fabda
commit 58a73e7b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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