Skip to content

Commit

Permalink
Merge pull request OpenNTF#1650 from LorenzoBoccaccia/master
Browse files Browse the repository at this point in the history
fixed case of parameter values
  • Loading branch information
Carlos Manias Díez committed Dec 10, 2014
2 parents 56289c6 + aa6a35d commit bbbae7d
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,12 @@ public Map<String, String> buildParameters() {
if (propagate!=null) {
ret.put("propagate", propagate.toString());
}
if (sharePermission!=null) {
ret.put("sharePermission", sharePermission.toString().toLowerCase());
}
if (sharePermission == Permission.VIEW)
ret.put("sharePermission", "View");

if (sharePermission == Permission.EDIT)
ret.put("sharePermission", "Edit");

if (shareSummary!=null) {
ret.put("shareSummary", shareSummary.toString());
}
Expand Down

0 comments on commit bbbae7d

Please sign in to comment.