From 413aea01a49359b0bac5c10a69ebd58ffaf37787 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 14 Aug 2019 17:32:39 +0800 Subject: [PATCH] Update personal_conferences_controller.rb --- app/controllers/personal_conferences_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/personal_conferences_controller.rb b/app/controllers/personal_conferences_controller.rb index f1c8280..216556e 100644 --- a/app/controllers/personal_conferences_controller.rb +++ b/app/controllers/personal_conferences_controller.rb @@ -174,7 +174,7 @@ class PersonalConferencesController < ApplicationController "isi_number" , "language" ] - @fields_to_show = @fields_to_show.map{|fs| (fs!="period" ? [t(personal_conference."#{fs}"), fs] : ["peroid", fs])} + @fields_to_show = @fields_to_show.map{|fs| (fs.to_s!="period" ? [t(personal_conference."#{fs}"), fs] : ["peroid", fs])} @default_fields_to_show = [ "authors", "paper_title",