summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-12 22:25:40 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-12 23:10:49 +0200
commitbc81179163642098ee27cf43aff25c4c68f3e12c (patch)
tree2481e0395ae30f5a37259074b7af0e02cd9ebc64 /core/ajax
parent815649dbd7a8e8d6dfd92ca6ccaa157d1f80a8c1 (diff)
downloadnextcloud-server-bc81179163642098ee27cf43aff25c4c68f3e12c.tar.gz
nextcloud-server-bc81179163642098ee27cf43aff25c4c68f3e12c.zip
Fix categories delete fallback when there is no app specific ajax categories delete function
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/vcategories/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/vcategories/delete.php b/core/ajax/vcategories/delete.php
index 602ee1d74a4..75def433d30 100644
--- a/core/ajax/vcategories/delete.php
+++ b/core/ajax/vcategories/delete.php
@@ -17,7 +17,7 @@ function debug($msg) {
require_once('../../../lib/base.php');
OC_JSON::checkLoggedIn();
-$app = isset($_GET['app'])?$_GET['app']:null;
+$app = isset($_POST['app'])?$_POST['app']:null;
$categories = isset($_POST['categories'])?$_POST['categories']:null;
if(is_null($app)) {
bailOut(OC_Contacts_App::$l10n->t('Application name not provided.'));