Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
This commit is contained in:
commit
e54ff79f42
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue