From b9c9fdfe200d42bc75afe42d9ecfa98e3ccef8c1 Mon Sep 17 00:00:00 2001
From: Thomas Tanghus <thomas@tanghus.net>
Date: Fri, 19 Oct 2012 00:38:23 +0200
Subject: [PATCH] Use get for loading dialog.

---
 core/ajax/vcategories/favorites.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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');