Update api_contacts.class.php

This commit is contained in:
ptibogxiv 2019-02-14 21:12:00 +01:00 committed by GitHub
parent bc8b6ed993
commit df9f248537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,13 +182,13 @@ class Contacts extends DolibarrApi
$obj = $db->fetch_object($result);
$contact_static = new Contact($db);
if ($contact_static->fetch($obj->rowid))
{
{
if ($includecount)
{
$contact_static->load_ref_elements();
}
$obj_ret[] = $this->_cleanObjectDatas($contact_static);
}
}
$i++;
}