Modification des conditions maison mère
This commit is contained in:
parent
b14293bd26
commit
d4b4291ff9
@ -220,13 +220,13 @@ class MLiens2
|
||||
|
||||
//Through the list
|
||||
$liens = $this->getActionnaires($id, true);
|
||||
|
||||
file_put_contents('test.log', print_r($liens,1)."\n", FILE_APPEND);
|
||||
//Find the following up entity
|
||||
if ( count($liens)>0 ) {
|
||||
foreach ( $liens as $item ) {
|
||||
//Don't through again and again
|
||||
if ( in_array($item->idAct, $this->findId) ) {
|
||||
continue;
|
||||
return $item->idAct;
|
||||
}
|
||||
|
||||
// Remove Special
|
||||
@ -247,7 +247,7 @@ class MLiens2
|
||||
}
|
||||
//--
|
||||
elseif ( $item->idAct > 1000 ) {
|
||||
return $item->idAct;
|
||||
return $this->getHead($item->idAct);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user