forked from Wavyzz/dolibarr
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
This commit is contained in:
@@ -178,7 +178,7 @@ if (empty($reshook)) {
|
||||
|
||||
// Ensure that contact is active and select first active contact
|
||||
foreach ($contacts as $key => $contact) {
|
||||
if ((int) $contact->status == 1) {
|
||||
if ((int) $contact->statut == 1) {
|
||||
$cid = $key;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user