Permalink
Browse files

Error in previous commit

  • Loading branch information...
1 parent 4001de9 commit abe7b723a415fbec6ae01650a130c298963859df @nateberkopec nateberkopec committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/models/order.rb
View
@@ -484,7 +484,7 @@ def has_available_shipment
end
def has_shipping_method
- errors.add(:base, 'You must select a shipping method.') if !shipping_method.any?
+ errors.add(:base, 'You must select a shipping method.') if shipping_method.nil?
end
def after_cancel

0 comments on commit abe7b72

Please sign in to comment.