Update api_thirdparties.class.php

This commit is contained in:
UT from dolibit 2022-08-27 13:51:33 +02:00 committed by GitHub
parent 434f0a786b
commit b0539d0d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,9 +512,10 @@ class Thirdparties extends DolibarrApi
/** /**
* Delete thirdparty * Delete thirdparty
* *
* @param int $id Thirparty ID * @param int $id Thirdparty ID
* @return integer * @return integer
*/ */
public function delete($id) public function delete($id)
{ {
if (!DolibarrApiAccess::$user->rights->societe->supprimer) { if (!DolibarrApiAccess::$user->rights->societe->supprimer) {