guard against a nil value for @order.user

This commit is contained in:
Andy Brett
2021-08-24 11:46:50 -07:00
parent 874e1d7f02
commit ea6739d565

View File

@@ -18,7 +18,7 @@
%span.summary-label
= t("split_checkout.step1.your_details.email.label")
%span.summary-value
= @order.user.email
= @order.user ? @order.user.email : "Change me"
%div.summary
%span.summary-label