Skip to content

Commit

Permalink
A fix to Order::create_shipment! Use true instead of reload.
Browse files Browse the repository at this point in the history
[Fixes #257]
  • Loading branch information
Adam Wro虂bel authored and romul committed Sep 17, 2011
1 parent 91fdc3d commit ac56874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/order.rb
Expand Up @@ -264,7 +264,7 @@ def create_tax_charge!

# Creates a new shipment (adjustment is created by shipment model)
def create_shipment!
shipping_method.reload
shipping_method(true)
if shipment.present?
shipment.update_attributes(:shipping_method => shipping_method)
else
Expand Down

0 comments on commit ac56874

Please sign in to comment.