Update api_contacts.class.php
This commit is contained in:
parent
f6a2fd6eb8
commit
9eaad23564
@ -292,7 +292,7 @@ class Contacts extends DolibarrApi
|
|||||||
{
|
{
|
||||||
throw new RestException(401, 'Access not allowed for login ' . DolibarrApiAccess::$user->login);
|
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($id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user