diff options
Diffstat (limited to 'apps/calendar/ajax/event')
-rw-r--r-- | apps/calendar/ajax/event/edit.form.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/calendar/ajax/event/edit.form.php b/apps/calendar/ajax/event/edit.form.php index 6783462eaf1..8db0ba79406 100644 --- a/apps/calendar/ajax/event/edit.form.php +++ b/apps/calendar/ajax/event/edit.form.php @@ -195,6 +195,8 @@ if($data['repeating'] == 1){ } if($access == 'owner'){ $calendar_options = OC_Calendar_Calendar::allCalendars(OC_User::getUser()); +}else{ + $calendar_options = array(OC_Calendar_App::getCalendar($data['calendarid'], false)); } $category_options = OC_Calendar_App::getCategoryOptions(); $repeat_options = OC_Calendar_App::getRepeatOptions(); |