mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 15:08:53 +00:00
Events are visible after they were removed from EWS calendar
Because we must merge calendar even when it's empty. (closes issue #17786) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -202,6 +202,7 @@ static int startelm(void *userdata, int parent, const char *nspace, const char *
|
|||||||
ctx->pvt->items = items;
|
ctx->pvt->items = items;
|
||||||
if (items < 1) {
|
if (items < 1) {
|
||||||
/* Stop processing XML if there are no events */
|
/* Stop processing XML if there are no events */
|
||||||
|
ast_calendar_merge_events(ctx->pvt->owner, ctx->pvt->events);
|
||||||
return NE_XML_DECLINE;
|
return NE_XML_DECLINE;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user