adds nil check in ste_table_element for table name [fixes SCI-2009]

This commit is contained in:
zmagod 2018-02-05 16:27:04 +01:00
parent f67f633562
commit ad742ac2d1

View file

@ -6,7 +6,7 @@
<div class="pull-left attachment-icon">
<span class="glyphicon glyphicon-th"></span>
</div>
<% unless table.name.empty? then %>
<% if table && table.name %>
<div class="pull-left table-name">
<em><%=t 'projects.reports.elements.step_table.table_name', name: table.name %></em>
</div>