diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java index 3a27a8401..e250fece0 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java @@ -139,8 +139,8 @@ public class JSONServlet extends VitroHttpServlet { DataProperty monikerDp = (new DataProperty()); monikerDp.setURI( VitroVocabulary.MONIKER); //this property is vivo specific - DataProperty perferredTitleDp = (new DataProperty()); - perferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle"); + DataProperty preferredTitleDp = (new DataProperty()); + preferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle"); if( log.isDebugEnabled() ){ @@ -205,7 +205,7 @@ public class JSONServlet extends VitroHttpServlet { jo.put("moniker", moniker); jo.put("vclassName", getVClassName(ind,moniker,fullWdf)); - jo.put("perferredTitle", getDataPropertyValue(ind, perferredTitleDp, fullWdf)); + jo.put("preferredTitle", getDataPropertyValue(ind, preferredTitleDp, fullWdf)); jo.put("firstName", getDataPropertyValue(ind, fNameDp, fullWdf)); jo.put("lastName", getDataPropertyValue(ind, lNameDp, fullWdf));