valuie is the id
This commit is contained in:
parent
fd0e3861b0
commit
08fe80e5f2
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user