diff --git a/app/models/honor.rb b/app/models/honor.rb index 22fb9e7..18a47e4 100644 --- a/app/models/honor.rb +++ b/app/models/honor.rb @@ -80,7 +80,7 @@ class Honor elsif t == "honor_type" pd_data << {"data_title" => (p.honor_type.title rescue "")} elsif t == "award_date" - pd_data << {"data_title" => (p.send(fs).strftime("%Y/%m/%d") rescue "")} + pd_data << {"data_title" => (p.send(t).strftime("%Y/%m/%d") rescue "")} else pd_data << { "data_title" => p.send(t) } end