##// END OF EJS Templates
Merged r11637 from trunk to 2.3-stable (#13354)...
Toshi MARUYAMA -
r11409:338d7ea91d9c
parent child
Show More
@@ -353,7 +353,10 module IssuesHelper
353 association = Issue.reflect_on_association(field.to_sym)
353 association = Issue.reflect_on_association(field.to_sym)
354 if association
354 if association
355 record = association.class_name.constantize.find_by_id(id)
355 record = association.class_name.constantize.find_by_id(id)
356 return record.name if record
356 if record
357 record.name.force_encoding('UTF-8') if record.name.respond_to?(:force_encoding)
358 return record.name
359 end
357 end
360 end
358 end
361 end
359
362
General Comments 0
You need to be logged in to leave comments. Login now