Skip to content

Commit 8d74dcd

Browse files
authored
Update DataObject.php
1 parent b6fbaeb commit 8d74dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/DataObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function addData(array $arr)
5757
}
5858

5959
foreach ($arr as $index => $value) {
60-
$this->_data[$key] = $value;
60+
$this->_data[$index] = $value;
6161
}
6262
return $this;
6363
}

0 commit comments

Comments
 (0)