valuie is the id

This commit is contained in:
bagtaib 2022-06-15 16:41:40 +02:00
parent fd0e3861b0
commit 08fe80e5f2

View File

@ -1058,7 +1058,7 @@ class Contrat extends CommonObject
if (count($exp->linkedObjectsIds['commande']) > 0) {
foreach ($exp->linkedObjectsIds['commande'] as $key => $value) {
$originforcontact = 'commande';
$originidforcontact = $value->id;
$originidforcontact = $value;
break; // We take first one
}
}