Skip to content

Commit c4ea23c

Browse files
committed
ACP2E-2622: Unable to save changes to phone number in existing order details
1 parent 25ebfb8 commit c4ea23c

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Model/ResourceModel/Db/VersionControl

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Model/ResourceModel/Db/VersionControl/Snapshot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function isModified(\Magento\Framework\DataObject $entity)
6767
return true;
6868
}
6969
foreach ($this->snapshotData[$entityClass][$entity->getId()] as $field => $value) {
70-
if ($entity->getDataByKey($field) != $value) {
70+
if ($entity->getDataByKey($field) !== $value) {
7171
return true;
7272
}
7373
}

0 commit comments

Comments
 (0)