mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
guard against a nil value for @order.user
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user