add exception solution
This commit is contained in:
parent
876c93e591
commit
7a36c0ee2e
|
@ -99,7 +99,7 @@ class Honor
|
|||
def get_plugin_field_data(field)
|
||||
case field
|
||||
when "honoree"
|
||||
path = OrbitHelper.url_to_plugin_show(self.member_profile.to_param, 'member')
|
||||
path = OrbitHelper.url_to_plugin_show(self.member_profile.to_param, 'member') rescue '#'
|
||||
value = "<a href='#{path}'>" + self.member_profile.name + "</a>"
|
||||
when "language"
|
||||
value = I18n.t(self.language) rescue ""
|
||||
|
|
Loading…
Reference in New Issue