diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java index c4ec9d8bd..76e73cf17 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java @@ -77,7 +77,7 @@ public class FrontEndEditingUtils { String displayName = null; // These are the only Vitro namespace object properties that are editable on the front end at this point. - if (StringUtils.equalsOneOf(predicateUri, VitroVocabulary.PRIMARY_LINK, VitroVocabulary.ADDITIONAL_LINK)) { + if ( predicateUri.equals(VitroVocabulary.PRIMARY_LINK) || predicateUri.equals(VitroVocabulary.ADDITIONAL_LINK) ) { String linkAnchor = getLiteralValue(model, object, VitroVocabulary.LINK_ANCHOR); String linkUrl = getLiteralValue(model, object, VitroVocabulary.LINK_URL); displayName = "" + linkAnchor + "";