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)
|
def get_plugin_field_data(field)
|
||||||
case field
|
case field
|
||||||
when "language"
|
when "language"
|
||||||
value = I18n.t(self.language) rescue ""
|
value = I18n.t(self.language) if !self.language.nil? rescue ""
|
||||||
when "project_type"
|
when "project_type"
|
||||||
value = self.project_type.title rescue ""
|
value = self.project_type.title rescue ""
|
||||||
when "period"
|
when "period"
|
||||||
|
|
Loading…
Reference in New Issue