diff --git a/app/models/diploma.rb b/app/models/diploma.rb index d7c7b84..33337fe 100644 --- a/app/models/diploma.rb +++ b/app/models/diploma.rb @@ -77,7 +77,7 @@ class Diploma pd_data = [] fields_to_show.collect do |t| if t == "school_name" - pd_data << { "data_title" => "#{p.send(t)}" } + pd_data << { "data_title" => "#{p.send(t)}" } elsif t == "duration" if !p.send('start_date').nil? or !p.send('end_date').nil? date = (p.send('start_date').strftime('%Y.%m') rescue "")+' ~ '+(p.send('end_date').strftime('%Y.%m') rescue I18n.t('personal_diploma.up_to_today'))