diff --git a/htdocs/societe/class/api_contacts.class.php b/htdocs/societe/class/api_contacts.class.php index 152f9aa8665..7f24713913f 100644 --- a/htdocs/societe/class/api_contacts.class.php +++ b/htdocs/societe/class/api_contacts.class.php @@ -74,6 +74,7 @@ class Contacts extends DolibarrApi } $result = $this->contact->fetch($id); + $this->contact->load_ref_elements(); if (!$result) { throw new RestException(404, 'Contact not found');