Update api_contacts.class.php
This commit is contained in:
parent
bc8b6ed993
commit
df9f248537
@ -182,13 +182,13 @@ class Contacts extends DolibarrApi
|
|||||||
$obj = $db->fetch_object($result);
|
$obj = $db->fetch_object($result);
|
||||||
$contact_static = new Contact($db);
|
$contact_static = new Contact($db);
|
||||||
if ($contact_static->fetch($obj->rowid))
|
if ($contact_static->fetch($obj->rowid))
|
||||||
{
|
{
|
||||||
if ($includecount)
|
if ($includecount)
|
||||||
{
|
{
|
||||||
$contact_static->load_ref_elements();
|
$contact_static->load_ref_elements();
|
||||||
}
|
}
|
||||||
$obj_ret[] = $this->_cleanObjectDatas($contact_static);
|
$obj_ret[] = $this->_cleanObjectDatas($contact_static);
|
||||||
}
|
}
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user