From f7768bd1f83523a8f51bbe762eb169d2273ba95f Mon Sep 17 00:00:00 2001 From: Linus Gasser Date: Mon, 20 Oct 2025 11:34:30 +0200 Subject: [PATCH] Fix empty question in count --- app/views/admin/questions/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/questions/show.html.haml b/app/views/admin/questions/show.html.haml index 1863e9a9..c80c6e68 100644 --- a/app/views/admin/questions/show.html.haml +++ b/app/views/admin/questions/show.html.haml @@ -24,4 +24,4 @@ %td= registration.name %td= registration.username %td= registration.email - %td= registration.qanswers.find_by(question: @question).answer.title + %td= registration.qanswers.find_by(question: @question)&.answer&.title