Skip to content

Commit

Permalink
Revert "Update getCustomer method in order class"
Browse files Browse the repository at this point in the history
This reverts commit f8bcd47.
  • Loading branch information
sertlab committed Feb 6, 2020
1 parent f8bcd47 commit 5a1f48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Model/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ public function getTrackingNumbers()
*/
public function getShippingMethod($asObject = false)
{
$shippingMethod = $this->getData('shipping_method');
$shippingMethod = parent::getShippingMethod();
if (!$asObject || !$shippingMethod) {
return $shippingMethod;
} else {
Expand Down

0 comments on commit 5a1f48e

Please sign in to comment.