From 51eed3efe5ad10f2830691af9b09884ad29ac186 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Tue, 24 Nov 2020 12:03:31 +0100 Subject: [PATCH] Fix api contact --- htdocs/societe/class/api_contacts.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/societe/class/api_contacts.class.php b/htdocs/societe/class/api_contacts.class.php index 9463aba5277..82984409325 100644 --- a/htdocs/societe/class/api_contacts.class.php +++ b/htdocs/societe/class/api_contacts.class.php @@ -127,7 +127,6 @@ class Contacts extends DolibarrApi $result = $this->contact->initAsSpecimen(); } else { $result = $this->contact->fetch('', '', '', $email); - $this->contact->fetchRoles(); } if (!$result)