summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/changeview.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/changeview.php')
-rw-r--r--apps/calendar/ajax/changeview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/changeview.php b/apps/calendar/ajax/changeview.php
index 2c2d09ccb12..0099fd5ec21 100644
--- a/apps/calendar/ajax/changeview.php
+++ b/apps/calendar/ajax/changeview.php
@@ -7,7 +7,7 @@
*/
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('calendar');
-$view = $_GET['v'];
+$view = $_POST['v'];
switch($view){
case 'agendaWeek':
case 'month';