Merge pull request #21290 from badre-agtaib/scru7
wrong access in array of ids
This commit is contained in:
commit
24ee652c8d
@ -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