diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-15 09:08:16 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-15 09:27:43 -0500 |
commit | b6b5bae72ca45ee6d4e3ac048c1dcb26480fa094 (patch) | |
tree | fe983ebf16402b8c1862dd0c8b5faa46e80fffbe | |
parent | c19fc4cf9bf7e8eedf2b753cc73f2cd16d6c2fc8 (diff) |
fix err 500 when trying to read `identity_proofs` from a non-existant account
-rw-r--r-- | app/views/accounts/_bio.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |