Fix api contact

This commit is contained in:
ptibogxiv 2020-11-24 12:03:31 +01:00 committed by GitHub
parent 47cfdb4ef2
commit 51eed3efe5
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)