diff --git a/core/app/models/spree/order_shipping.rb b/core/app/models/spree/order_shipping.rb index e70ccd2b3bc..bfab5ecb910 100644 --- a/core/app/models/spree/order_shipping.rb +++ b/core/app/models/spree/order_shipping.rb @@ -44,7 +44,6 @@ def ship_shipment(shipment, external_number: nil, tracking_number: nil, suppress # @return The carton created. def ship(inventory_units:, stock_location:, address:, shipping_method:, shipped_at: Time.current, external_number: nil, tracking_number: nil, suppress_mailer: false) - carton = nil Spree::InventoryUnit.transaction do