From ffb915ccc5d094951386d33d9d056371cb11e316 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Fri, 14 Nov 2014 16:48:33 +1100 Subject: [PATCH] Orders page doesn't crash when orders have no distributor --- .../admin/orders/index/add_distributor_td.html.haml.deface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/overrides/spree/admin/orders/index/add_distributor_td.html.haml.deface b/app/overrides/spree/admin/orders/index/add_distributor_td.html.haml.deface index af19c08ddd..5d9b7ab083 100644 --- a/app/overrides/spree/admin/orders/index/add_distributor_td.html.haml.deface +++ b/app/overrides/spree/admin/orders/index/add_distributor_td.html.haml.deface @@ -1,4 +1,4 @@ / insert_top "[data-hook='admin_orders_index_rows']" %td.align-center - = order.distributor.name + = order.distributor.andand.name