Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
GTNWCM-40 Fix for NPE in WCM Content after import
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed Jun 16, 2014
1 parent 99d0a6a commit 740f2cf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -39,7 +39,7 @@
%>
<li id="${n}attached<%= c.getId()%>_C"><span class="glyphicon glyphicon-tags margin-right margin-top"></span> <%= c.getName() %> <a href="#" onclick="deleteAttachment${n}('<%= c.getId()%>_C');"><span class="glyphicon glyphicon-remove middle"></span></a></li>
<%
} else {
} else if (o instanceof Post) {
Post p = (Post)o;
%>
<li id="${n}attached<%= p.getId()%>_P"><span class="glyphicon glyphicon-file margin-right margin-top"></span> <%= p.getTitle() %> <a href="#" onclick="deleteAttachment${n}('<%= p.getId()%>_P');"><span class="glyphicon glyphicon-remove middle"></span></a></li>
Expand Down

0 comments on commit 740f2cf

Please sign in to comment.