Skip to content

Commit be076d5

Browse files
Merge branch 'fixed-issue-21396' of https://github.com/Dharmeshvaja91/magento2 into fixed-issue-21396
2 parents 7127e16 + c39751f commit be076d5

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Customer/Block/Address

1 file changed

+3
-3
lines changed

app/code/Magento/Customer/Block/Address/Grid.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ private function getAddressCollection(): \Magento\Customer\Model\ResourceModel\A
236236
}
237237
/** @var \Magento\Customer\Model\ResourceModel\Address\Collection $collection */
238238
$collection = $this->addressCollectionFactory->create();
239-
$collection->setOrder('entity_id', 'desc')
240-
->addFieldToFilter('entity_id', array('nin' => array($this->getDefaultBilling(), $this->getDefaultShipping())))
241-
->setCustomerFilter([$this->getCustomer()->getId()]);
239+
$collection->setOrder('entity_id', 'desc');
240+
$collection->addFieldToFilter('entity_id', array('nin' => array($this->getDefaultBilling(), $this->getDefaultShipping())));
241+
$collection->setCustomerFilter([$this->getCustomer()->getId()]);
242242
$this->addressCollection = $collection;
243243
}
244244
return $this->addressCollection;

0 commit comments

Comments
 (0)