Skip to content

Commit c39751f

Browse files
Updated code
1 parent 6584286 commit c39751f

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)