diff --git a/main/webapp/modules/core/scripts/preferences.js b/main/webapp/modules/core/scripts/preferences.js index 5a8010aab..7d1404d53 100644 --- a/main/webapp/modules/core/scripts/preferences.js +++ b/main/webapp/modules/core/scripts/preferences.js @@ -51,7 +51,7 @@ $.i18n.setDictionary(dictionary); //End internationalization function deDupUserMetaData(arrObj) { - result = _.uniq(JSON.parse(arrObj), function(x){ + var result = _.uniq(JSON.parse(arrObj), function(x){ return x.name; });