From a1dcd0300c5cc982d5edebd5a6fd5ce95003643e Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Tue, 30 Jun 2026 09:13:03 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09639=20-=20Refactor=20variable=20name=20?= =?UTF-8?q?for=20clarity=20in=20hierarchical=20key=20update=20process?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Service/StaticDeletionPlan.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/datamodels/2.x/combodo-data-feature-removal/src/Service/StaticDeletionPlan.php b/datamodels/2.x/combodo-data-feature-removal/src/Service/StaticDeletionPlan.php index 4a8e43e8f6..3356b77856 100644 --- a/datamodels/2.x/combodo-data-feature-removal/src/Service/StaticDeletionPlan.php +++ b/datamodels/2.x/combodo-data-feature-removal/src/Service/StaticDeletionPlan.php @@ -103,11 +103,9 @@ class StaticDeletionPlan if (($iDeletePropagationOption == DEL_MOVEUP) && ($oExtKeyAttDef->IsHierarchicalKey())) { // update hierarchical keys due to row cleanup in the same table - $sIdsToRemove = implode(',', $this->aDeletionPlan[$sRemoteClass]->oDelete->aIds); - $oUpdateItem = $this->UpdateHierarchicalExtKey($sRemoteClass, $sExtKeyAttCode, $sIdsToRemove); + $sTargetIdsToRemove = implode(',', $this->aDeletionPlan[$sRemoteClass]->oDelete->aIds); + $oUpdateItem = $this->UpdateHierarchicalExtKey($sRemoteClass, $sExtKeyAttCode, $sTargetIdsToRemove); $oDeletionPlanEntity->oUpdate->Merge($oUpdateItem); - // do not recurse - continue; } // Delete entries in Remote Class