small fix for language show page
This commit is contained in:
parent
93c40803d1
commit
04369d0531
|
@ -128,7 +128,7 @@ class Project
|
|||
def get_plugin_field_data(field)
|
||||
case field
|
||||
when "language"
|
||||
value = I18n.t(self.language) rescue ""
|
||||
value = I18n.t(self.language) if !self.language.nil? rescue ""
|
||||
when "project_type"
|
||||
value = self.project_type.title rescue ""
|
||||
when "period"
|
||||
|
|
Loading…
Reference in New Issue