mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°8772 - Fix error
This commit is contained in:
@@ -124,10 +124,12 @@ class DependencyMap
|
||||
public function GetImpacted(string $sBlockName): array
|
||||
{
|
||||
$aImpacted = [];
|
||||
foreach ($this->aOutputToInputsMap[$sBlockName] as $aBindings) {
|
||||
foreach ($aBindings as $oBinding) {
|
||||
$oDestBlock = $oBinding->oDestinationIO->GetOwnerBlock();
|
||||
$aImpacted[] = $oDestBlock;
|
||||
if (array_key_exists($sBlockName, $this->aOutputToInputsMap)) {
|
||||
foreach ($this->aOutputToInputsMap[$sBlockName] as $aBindings) {
|
||||
foreach ($aBindings as $oBinding) {
|
||||
$oDestBlock = $oBinding->oDestinationIO->GetOwnerBlock();
|
||||
$aImpacted[] = $oDestBlock;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user