File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Customer/Block/Address Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,9 +236,9 @@ private function getAddressCollection(): \Magento\Customer\Model\ResourceModel\A
236
236
}
237
237
/** @var \Magento\Customer\Model\ResourceModel\Address\Collection $collection */
238
238
$ 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 ()]);
242
242
$ this ->addressCollection = $ collection ;
243
243
}
244
244
return $ this ->addressCollection ;
You can’t perform that action at this time.
0 commit comments