summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/ajax/vcategories/favorites.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/vcategories/favorites.php b/core/ajax/vcategories/favorites.php
index 35b23e29c13..b72fc7a9fee 100644
--- a/core/ajax/vcategories/favorites.php
+++ b/core/ajax/vcategories/favorites.php
@@ -20,7 +20,7 @@ OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
-$type = isset($_POST['type']) ? $_POST['type'] : null;
+$type = isset($_GET['type']) ? $_GET['type'] : null;
if(is_null($type)) {
$l = OC_L10N::get('core');