Fix scrutinizer
This commit is contained in:
parent
25e70bead8
commit
6d848edba7
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue