Return component's priority as an integer

This commit is contained in:
Francis Lachapelle committed 2016-04-21 13:53:57 -04:00
1 parent fba40c43d6
commit 9a4d3251a1
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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)
@@ -86,7 +86,7 @@ NSNumber *iCalDistantFutureNumber = nil;
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"];