Merge pull request #15505 from ptibogxiv/patch-394

Fix api contact
This commit is contained in:
Laurent Destailleur 2020-11-25 12:52:45 +01:00 committed by GitHub
commit 7bb6b24b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,6 @@ class Contacts extends DolibarrApi
$result = $this->contact->initAsSpecimen();
} else {
$result = $this->contact->fetch('', '', '', $email);
$this->contact->fetchRoles();
}
if (!$result)