Skip to content

Commit

Permalink
Return component's priority as an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Apr 21, 2016
1 parent fba40c4 commit 9a4d325
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -34,6 +34,7 @@ Bug fixes
- [web] fixed saving of a custom weekly recurrence definition
- [web] properly escape the user's display name (#3617)
- [web] avoid returning search results on objects without read permissions (#3619)
- [web] restore priority of event or task in component editor
- [core] properly escape wide characters (#3616)
- [core] avoid double-appending domains in cache for multi-domain configurations (#3614)
- [dav] we now handle the default classifications for tasks (#3541)
Expand Down
2 changes: 1 addition & 1 deletion SoObjects/Appointments/iCalEntityObject+SOGo.m
Expand Up @@ -86,7 +86,7 @@ - (NSDictionary *) attributesInContext: (WOContext *) context
nil];

value = [self priority];
if ([value length]) [data setObject: value forKey: @"priority"];
if ([value length]) [data setObject: [NSNumber numberWithInteger: [value intValue]] forKey: @"priority"];

value = [self location];
if ([value length]) [data setObject: value forKey: @"location"];
Expand Down

0 comments on commit 9a4d325

Please sign in to comment.