From eb20538beb32ccd464b71673ff0bf7f461253d73 Mon Sep 17 00:00:00 2001 From: Godwin Date: Thu, 8 Nov 2018 06:59:17 -0800 Subject: [PATCH] Yet another NPE fix --- app/views/conference_administration/_stats.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/conference_administration/_stats.html.haml b/app/views/conference_administration/_stats.html.haml index 669f753..aed8574 100644 --- a/app/views/conference_administration/_stats.html.haml +++ b/app/views/conference_administration/_stats.html.haml @@ -22,5 +22,5 @@ = columns(medium: 12) do %h3=_'articles.admin.stats.headings.past_stats' %ul.actions.center - - @past_conferences.each do |conference| + - (@past_conferences || []).each do |conference| = link_to conference.title, previous_stats_path(@this_conference.slug, conference.slug, format: :xlsx), class: [:button, :download]