summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-10-19 00:38:23 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-10-19 00:38:23 +0200
commitb9c9fdfe200d42bc75afe42d9ecfa98e3ccef8c1 (patch)
treef82955fded3d2a87e1286acf2b042811a50f93f6 /core/ajax
parent4827de4a276c83ad92eb1fa890dd3ade5d7a1514 (diff)
downloadnextcloud-server-b9c9fdfe200d42bc75afe42d9ecfa98e3ccef8c1.tar.gz
nextcloud-server-b9c9fdfe200d42bc75afe42d9ecfa98e3ccef8c1.zip
Use get for loading dialog.
Diffstat (limited to 'core/ajax')
-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');