From f697410f2d028381a03558a4e5cb0f2612170a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20M=C3=A9ndez=20Fern=C3=A1ndez?= <38297472+sergiomfg@users.noreply.github.com> Date: Tue, 18 Nov 2025 09:01:50 +0100 Subject: [PATCH] Fix reference to nodeIndex in move method Remove reference because $nodeindex is update when $this-nodeIndex is modified --- lib/internal/Magento/Framework/Stdlib/ArrayManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Stdlib/ArrayManager.php b/lib/internal/Magento/Framework/Stdlib/ArrayManager.php index fc2557e5d11e2..d14b3556caedc 100644 --- a/lib/internal/Magento/Framework/Stdlib/ArrayManager.php +++ b/lib/internal/Magento/Framework/Stdlib/ArrayManager.php @@ -112,7 +112,7 @@ public function move($path, $targetPath, array $data, $overwrite = false, $delim { if ($this->find($path, $data, $delimiter)) { $parentNode = &$this->parentNode; - $nodeIndex = &$this->nodeIndex; + $nodeIndex = $this->nodeIndex; if ((!$this->find($targetPath, $data, $delimiter) || $overwrite) && $this->find($targetPath, $data, $delimiter, true)