This commit is contained in:
Laurent Destailleur 2022-05-21 23:07:22 +02:00
parent e12daa74d0
commit 6771d96b47

View File

@ -149,7 +149,7 @@ class Invoices extends DolibarrApi
// Add external contacts ids
if ($contact_list > -1) {
$tmparray = $this->invoice->liste_contact(-1, 'external', $contact_list);
if(is_array($tmparray)) {
if (is_array($tmparray)) {
$this->invoice->contacts_ids = $tmparray;
}
}