summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/newevent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/newevent.php')
-rw-r--r--apps/calendar/ajax/newevent.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/ajax/newevent.php b/apps/calendar/ajax/newevent.php
index 9ac3b0aaff6..1a696cf7780 100644
--- a/apps/calendar/ajax/newevent.php
+++ b/apps/calendar/ajax/newevent.php
@@ -13,6 +13,7 @@ $l10n = new OC_L10N('calendar');
if(!OC_USER::isLoggedIn()) {
die("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
}
+OC_JSON::checkAppEnabled('calendar');
$errarr = OC_Calendar_Object::validateRequest($_POST);
if($errarr){