Fix exception when moving tasks
This commit is contained in:
parent
ffa1920122
commit
4a6bdffc5b
1
NEWS
1
NEWS
|
@ -9,6 +9,7 @@ Enhancements
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- [web] fixed refresh of addressbook when deleting one or many cards
|
- [web] fixed refresh of addressbook when deleting one or many cards
|
||||||
- [web] reset multiple-selection mode after deleting cards, events or tasks
|
- [web] reset multiple-selection mode after deleting cards, events or tasks
|
||||||
|
- [web] fixed exception when moving tasks to a different calendar
|
||||||
|
|
||||||
3.1.4 (2016-07-12)
|
3.1.4 (2016-07-12)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* SOGoCalendarComponent.m - this file is part of SOGo
|
/* SOGoCalendarComponent.m - this file is part of SOGo
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2014 Inverse inc.
|
* Copyright (C) 2006-2016 Inverse inc.
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
#import <NGCards/iCalCalendar.h>
|
#import <NGCards/iCalCalendar.h>
|
||||||
#import <NGCards/iCalDateTime.h>
|
#import <NGCards/iCalDateTime.h>
|
||||||
#import <NGCards/iCalEvent.h>
|
#import <NGCards/iCalEvent.h>
|
||||||
|
#import <NGCards/iCalToDo.h>
|
||||||
#import <NGMime/NGMimeBodyPart.h>
|
#import <NGMime/NGMimeBodyPart.h>
|
||||||
#import <NGMime/NGMimeMultipartBody.h>
|
#import <NGMime/NGMimeMultipartBody.h>
|
||||||
#import <NGMail/NGMimeMessage.h>
|
#import <NGMail/NGMimeMessage.h>
|
||||||
|
@ -1275,7 +1276,7 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
newUID = [[[calendar events] objectAtIndex: 0] uid];
|
newUID = [[[calendar allObjects] objectAtIndex: 0] uid];
|
||||||
}
|
}
|
||||||
|
|
||||||
newComponent = [[self class] objectWithName:
|
newComponent = [[self class] objectWithName:
|
||||||
|
|
Loading…
Reference in a new issue