2
0
forked from Wavyzz/dolibarr

Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0

This commit is contained in:
ldestailleur
2025-08-15 17:35:04 +02:00

View File

@@ -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;
}