Use display name to add a user to a group
[pithos-web-client] / src / gr / grnet / pithos / web / client / FolderPropertiesDialog.java
index e2f1def..ff1dabf 100644 (file)
@@ -136,7 +136,7 @@ public class FolderPropertiesDialog extends DialogBox {
         }\r
         else {\r
             final String ownerID = folder.getOwnerID();\r
-            final String displayName = app.getUserDisplayNameForID(ownerID);\r
+            final String displayName = app.getDisplayNameForUserID(ownerID);\r
             final String ownerDisplayName;\r
             if(displayName == null) {\r
                 // FIXME: Get the actual display name and do not use the id\r