Skip to content

Commit 314eaea

Browse files
committed
ACP2E-2622: Unable to save changes to phone number in existing order details
1 parent 40176a7 commit 314eaea

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
@@ -68,7 +68,7 @@ public function isModified(\Magento\Framework\DataObject $entity)
6868
}
6969
foreach ($this->snapshotData[$entityClass][$entity->getId()] as $field => $value) {
7070
$fieldValue = $entity->getDataByKey($field);
71-
if(is_numeric($fieldValue) && is_numeric($value)) {
71+
if (is_numeric($fieldValue) && is_numeric($value)) {
7272
if ($fieldValue !== $value) {
7373
return true;
7474
}

0 commit comments

Comments
 (0)