Skip to content

Commit

Permalink
fixing bug #12780
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasEYSSERIC committed Jan 12, 2022
1 parent 82cd64b commit ab111e2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions kmelia/kmelia-war/src/main/webapp/kmelia/jsp/publication.jsp
Expand Up @@ -616,7 +616,7 @@
<% } %>
</p>

<% if (kmeliaScc.getInvisibleTabs().indexOf(kmeliaScc.TAB_COMMENT) == -1 && !kmaxMode) { %>
<% if (!kmeliaScc.getInvisibleTabs().contains(KmeliaSessionController.TAB_COMMENT)) { %>
<p id="commentInfo">
<fmt:message key="GML.comment.number"/><br />
<a href="#commentaires">${kmeliaPubli.numberOfComments}</a>
Expand Down Expand Up @@ -858,10 +858,8 @@
resourceId="<%=id%>"
contentLanguage="<%=contentLanguage%>"
highestUserRole="<%=SilverpeasRole.fromString(attProfile)%>"/>
<%

if (kmeliaScc.getInvisibleTabs().indexOf(kmeliaScc.TAB_COMMENT) == -1 && !kmaxMode) {
%>
<% if (!kmeliaScc.getInvisibleTabs().contains(KmeliaSessionController.TAB_COMMENT)) { %>
<view:comments userId="<%= user_id%>" componentId="<%= componentId %>"
resourceType="<%= resourceType %>" resourceId="<%= id %>" indexed="<%= indexIt %>"/>
<% } %>
Expand Down

0 comments on commit ab111e2

Please sign in to comment.