fix in task to task
This commit is contained in:
@@ -80,12 +80,9 @@ class RoutingScreen extends \Derivation
|
|||||||
}
|
}
|
||||||
return array_combine(range(1, count($response)), array_values($response));
|
return array_combine(range(1, count($response)), array_values($response));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function checkElement($element)
|
public function checkElement($element)
|
||||||
{
|
{
|
||||||
if (empty($element['in'])) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
$outElement = $element['out'];
|
$outElement = $element['out'];
|
||||||
foreach ($outElement as $indexO => $outE) {
|
foreach ($outElement as $indexO => $outE) {
|
||||||
if (!$this->isFirst && in_array($outE, $this->gateway)) {
|
if (!$this->isFirst && in_array($outE, $this->gateway)) {
|
||||||
@@ -95,11 +92,14 @@ class RoutingScreen extends \Derivation
|
|||||||
$this->taskSecJoin[$indexO] = $outE;
|
$this->taskSecJoin[$indexO] = $outE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (empty($element['in'])) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
$this->isFirst = false;
|
$this->isFirst = false;
|
||||||
$inElement = $element['in'];
|
$inElement = $element['in'];
|
||||||
foreach ($inElement as $indexI => $inE) {
|
foreach ($inElement as $indexI => $inE) {
|
||||||
if ($inE == 'SEC-JOIN') {
|
if ($inE == 'SEC-JOIN' && strpos($indexI, 'itee') !== false) {
|
||||||
$this->convergent[$indexI]=$inE;
|
$this->convergent[$indexI] = $inE;
|
||||||
}
|
}
|
||||||
$this->checkElement($this->node[$indexI]);
|
$this->checkElement($this->node[$indexI]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user