diff --git a/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java b/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java index f9e0305d7..9de09dc92 100644 --- a/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java +++ b/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java @@ -355,12 +355,12 @@ public List detectRemovedAttributes() { Set origCustomAttributesSet = new HashSet(); for (GluuCustomAttribute origCustomAttribute : origCustomAttributes) { - String attributeName = StringHelper.toLowerCase(origCustomAttribute.getName()); + String attributeName = origCustomAttribute.getName(); origCustomAttributesSet.add(attributeName); } for (GluuCustomAttribute currentCustomAttribute : customAttributes) { - String attributeName = StringHelper.toLowerCase(currentCustomAttribute.getName()); + String attributeName = currentCustomAttribute.getName(); origCustomAttributesSet.remove(attributeName); }