Fix exception for mod with missing type while searching

This commit is contained in:
Björn Dahlgren 2017-10-05 23:15:09 +02:00
parent 841b9385b7
commit 065a6cf76b

View File

@ -1,7 +1,13 @@
<td style="width: 100%;"> <td style="width: 100%;">
<p> <p>
<strong><%-name%></strong> <strong><%-name%></strong>
<small><%-type%></small <small>
<% if (typeof(type) != "undefined" && type) { %>
<%-type%>
<% } else { %>
Unknown
<% } %>
</small>
</p> </p>
<p><%-title%></p> <p><%-title%></p>
</td> </td>