diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java index 199fd6753..32c2179cd 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/PropertyEditLinks.java @@ -146,15 +146,12 @@ public class PropertyEditLinks extends TagSupport{ } else { try{ JspWriter out = pageContext.getOut(); - if( links != null && links.length > 0){ - // Include the wrapping span here, rather than in the JSP, so if there are no links we don't get the span. - out.print(""); + if( links != null){ for( LinkStruct ln : links ){ if( ln != null ){ out.print( makeElement( ln ) + '\n' ); } } - out.print(""); } } catch(IOException ioe){ log.error( ioe ); diff --git a/webapp/web/templates/entity/entityBasic.jsp b/webapp/web/templates/entity/entityBasic.jsp index 1f42cb822..a665f16c8 100644 --- a/webapp/web/templates/entity/entityBasic.jsp +++ b/webapp/web/templates/entity/entityBasic.jsp @@ -114,8 +114,8 @@ RY Description not working - FIX