summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/updatecalendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/updatecalendar.php')
-rw-r--r--apps/calendar/ajax/updatecalendar.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/ajax/updatecalendar.php b/apps/calendar/ajax/updatecalendar.php
index d53515d0deb..5cf48d50ea1 100644
--- a/apps/calendar/ajax/updatecalendar.php
+++ b/apps/calendar/ajax/updatecalendar.php
@@ -12,6 +12,7 @@ $l10n = new OC_L10N('calendar');
// Check if we are a user
OC_JSON::checkLoggedIn();
+OC_JSON::checkAppEnabled('calendar');
$calendarid = $_POST['id'];
OC_Calendar_Calendar::editCalendar($calendarid, $_POST['name'], $_POST['description'], null, null, null, $_POST['color']);