Commit a3911cbd357bb49373d464c9d2e3fcc6b30508e0

Authored by Fernando Ribeiro
1 parent e170760a64
Exists in DSpace52++

Changed display-item.jsp to correct SharingBar NullPointerException

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
dspace-jspui/src/main/webapp/display-item.jsp
... ... @@ -337,7 +337,7 @@
337 337 %>
338 338 <br/>
339 339 <!-- && !isAdmin removed. sharing bar will appear even to the Administration zone -->
340   -<% if (ConfigurationManager.getBooleanProperty("sharing.active", false) && workspace_id != null) { %>
  340 +<% if (handle != null && ConfigurationManager.getBooleanProperty("sharing.active", false)) { %>
341 341 <% // code
342 342 SharingManager manager = new SharingManager(new ItemWrapper(item));
343 343 %>
... ...