diff options
author | Milan Crha <mcrha@redhat.com> | 2011-07-01 20:25:40 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-07-01 20:25:40 +0800 |
commit | 6d8542a62879bd8b6f06e2679fc9f846ba497935 (patch) | |
tree | eaea29834b09fa740711546195e1efa0e61f7fe9 | |
parent | 282100c65653293258d0f8471427be1ca54204e6 (diff) | |
download | gsoc2013-evolution-6d8542a62879bd8b6f06e2679fc9f846ba497935.tar.gz gsoc2013-evolution-6d8542a62879bd8b6f06e2679fc9f846ba497935.tar.zst gsoc2013-evolution-6d8542a62879bd8b6f06e2679fc9f846ba497935.zip |
Call e_cal_client_check_save_schedules() only when found a calendar
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 611324d05e..0770ea2ebb 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -701,7 +701,7 @@ decrease_find_data (FormatItipFindData *fd) * invitiations (REQUEST), but not replies (REPLY). * Replies only make sense for events with an organizer. */ - if (!e_cal_client_check_save_schedules (pitip->current_client) && + if (pitip->current_client && !e_cal_client_check_save_schedules (pitip->current_client) && (pitip->method == ICAL_METHOD_PUBLISH || pitip->method == ICAL_METHOD_REQUEST) && pitip->has_organizer) { rsvp_enabled = TRUE; |