Fix scrutinizer

This commit is contained in:
Laurent Destailleur 2022-05-18 23:28:53 +02:00
parent 25e70bead8
commit 6d848edba7

View File

@ -645,7 +645,7 @@ class Proposals extends DolibarrApi
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
}
$contacts = $this->invoice->liste_contact();
$contacts = $this->propal->liste_contact();
foreach ($contacts as $contact) {
if ($contact['id'] == $contactid && $contact['code'] == $type) {