That wasn't actually a bug! Sorry

This commit is contained in:
Will Marshall
2014-05-02 12:52:51 +10:00
parent 705e247eb8
commit 9bd76df116

View File

@@ -34,7 +34,7 @@ class Shop::ShopController < BaseController
@order_cycles = OrderCycle.with_distributor(@distributor).active
# And default to the only order cycle if there's only the one
if @order_cycles.count == 1 and current_order_cycle.nil?
if @order_cycles.count == 1
current_order(true).set_order_cycle! @order_cycles.first
end
end