Skip to content

Commit 80ce4a5

Browse files
committed
Deprecation fix: to saved_changes?
1 parent 87bea28 commit 80ce4a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/spree/line_item_decorator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def quantity_by_variant
4040
private
4141

4242
def update_inventory
43-
if (changed? || target_shipment.present?) &&
43+
if (saved_changes? || target_shipment.present?) &&
4444
order.has_checkout_step?("delivery")
4545
if product.assembly?
4646
OrderInventoryAssembly.new(self).verify(target_shipment)

0 commit comments

Comments
 (0)