Fix scrutinizer
This commit is contained in:
parent
25e70bead8
commit
6d848edba7
@ -645,7 +645,7 @@ class Proposals extends DolibarrApi
|
|||||||
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
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) {
|
foreach ($contacts as $contact) {
|
||||||
if ($contact['id'] == $contactid && $contact['code'] == $type) {
|
if ($contact['id'] == $contactid && $contact['code'] == $type) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user