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