Skip to content

Commit ad2d93e

Browse files
committed
ACP2E-2622: Unable to save changes to phone number in existing order details
- Fixed CR comments
1 parent 09e5558 commit ad2d93e

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Sales/Model/ResourceModel/Order

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Model/ResourceModel/Order/Address.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ protected function isModified(AbstractModel $entity): bool
132132
if (!$entity->getId()) {
133133
return true;
134134
}
135-
$snapChatData = $this->entitySnapshot->getSnapshotData($entity);
136-
foreach ($snapChatData as $field => $value) {
135+
$snapShotData = $this->entitySnapshot->getSnapshotData($entity);
136+
foreach ($snapShotData as $field => $value) {
137137
$fieldValue = $entity->getDataByKey($field);
138138
if (is_numeric($fieldValue) && is_numeric($value)) {
139139
if ($fieldValue !== $value) {

0 commit comments

Comments
 (0)