Skip to content

Commit 94e6406

Browse files
committed
Merge pull request magento#193 from magento-mpi/prs
[Github] Merge public Github commits
2 parents 1bcfc0f + 78b4547 commit 94e6406

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Customer/Model/Customer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ public function getPrimaryAddresses()
725725

726726
$primaryShipping = $this->getPrimaryShippingAddress();
727727
if ($primaryShipping) {
728-
if ($primaryBilling->getId() == $primaryShipping->getId()) {
728+
if ($primaryBilling && $primaryBilling->getId() == $primaryShipping->getId()) {
729729
$primaryBilling->setIsPrimaryShipping(true);
730730
} else {
731731
$primaryShipping->setIsPrimaryShipping(true);

app/code/Magento/Tax/Setup/InstallData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface
6969
'visible_in_advanced_search' => true,
7070
'used_in_product_listing' => true,
7171
'unique' => false,
72-
'apply_to' => implode($taxSetup->getTaxableItems(), ',')
72+
'apply_to' => implode(',', $taxSetup->getTaxableItems())
7373
]
7474
);
7575

0 commit comments

Comments
 (0)