Defect #13354 » issues_helper.rb_r11621.patch
| app/helpers/issues_helper.rb (working copy) | ||
|---|---|---|
|
association = Issue.reflect_on_association(field.to_sym)
|
||
|
if association
|
||
|
record = association.class_name.constantize.find_by_id(id)
|
||
|
return record.name if record
|
||
|
if record
|
||
|
record.name.force_encoding('UTF-8') if record.name.respond_to?(:force_encoding)
|
||
|
return record.name
|
||
|
end
|
||
|
end
|
||
|
end
|
||
- « Previous
- 1
- 2
- 3
- Next »