extended_queries_helper_patch.rb
| 1 |
diff --git a/lib/extended_queries_helper_patch.rb b/lib/extended_queries_helper_patch.rb |
|---|---|
| 2 |
index 659f44e..0fa1566 100644 |
| 3 |
--- a/lib/extended_queries_helper_patch.rb |
| 4 |
+++ b/lib/extended_queries_helper_patch.rb |
| 5 |
@@ -24,7 +24,7 @@ module ExtendedQueriesHelperPatch |
| 6 |
if column.custom_field.visible_by?(issue.project, User.current) |
| 7 |
value = issue.custom_field_values.detect{ |value| value.custom_field_id == column.custom_field.id }
|
| 8 |
|
| 9 |
- h(show_value(value)) |
| 10 |
+ h(show_value(value)) unless value.nil?
|
| 11 |
else
|
| 12 |
nil
|
| 13 |
end
|