diff --git a/app/views/origami/home/show.html.erb b/app/views/origami/home/show.html.erb index 15f28cf8..daacffd9 100644 --- a/app/views/origami/home/show.html.erb +++ b/app/views/origami/home/show.html.erb @@ -220,7 +220,7 @@ <%= sub_total %> - <%if @obj_sale.discount_type == 'member_discount'%> + <%if @obj_sale != nil && @obj_sale.discount_type == 'member_discount'%> Member Discount: <%else%> Discount: