From b6b5bae72ca45ee6d4e3ac048c1dcb26480fa094 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 15 Aug 2019 09:08:16 -0500 Subject: fix err 500 when trying to read `identity_proofs` from a non-existant account --- app/views/accounts/_bio.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/accounts') diff --git a/app/views/accounts/_bio.html.haml b/app/views/accounts/_bio.html.haml index efc26d136..7d6419d09 100644 --- a/app/views/accounts/_bio.html.haml +++ b/app/views/accounts/_bio.html.haml @@ -1,4 +1,4 @@ -- proofs = account.identity_proofs.active +- proofs = account&.identity_proofs&.active || [] - fields = account.fields .public-account-bio -- cgit