Merge pull request #13092 from perotom/patch-1

FIX: missing trigger on contact delete
This commit is contained in:
Laurent Destailleur 2020-02-12 18:23:46 +01:00 committed by GitHub
commit 75fe2f4dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,7 +293,7 @@ class Contacts extends DolibarrApi
throw new RestException(401, 'Access not allowed for login ' . DolibarrApiAccess::$user->login);
}
$this->contact->oldcopy = clone $this->contact;
return $this->contact->delete($id);
return $this->contact->delete();
}
/**