Commit 26c866839e5ba2b1c045655dfdc7c4323cd9be6e
Committed by
Carlos Morais
1 parent
b389645b
Exists in
master
and in
29 other branches
[mezuro] Range comments when threre is no range
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/mezuro/views/content_viewer/_module_result.rhtml
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | </tr> |
30 | 30 | <tr class="<%= metric_result.metric.name.delete("() ")%>" style="display: none;"> |
31 | 31 | <td colspan="4" align="right"> |
32 | - <%= range.comments.nil? ? 'comment empty' : range.comments %> | |
32 | + <%= range.nil? or range.comments.nil? ? 'comment empty' : range.comments %> | |
33 | 33 | </td> |
34 | 34 | </tr> |
35 | 35 | <% end %> | ... | ... |