Skip to content

Commit

Permalink
Merge pull request #28 from ctx2002/patch-1
Browse files Browse the repository at this point in the history
Shipping address issue
  • Loading branch information
wilr committed Apr 26, 2016
2 parents d680296 + 4b3f4e3 commit d8d8db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/model/ShippingMethod.php
Expand Up @@ -55,7 +55,7 @@ function __construct(ShippingMethod $method, Order $order) {
function calculate($address = null) {
return $this->method->calculateRate(
$this->order->createShippingPackage(),
$address ? $address : $this->order->ShippingAddress()
$address ? $address : $this->order->getShippingAddress()
);
}

Expand Down

0 comments on commit d8d8db0

Please sign in to comment.