diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-10 18:38:01 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-10 18:38:01 +0200 |
commit | ef1b04619daa7b72ca1a8427702bd3552b848e6c (patch) | |
tree | db3f22c8bd0e5cfb3fec2cda403fcaa20fe38214 /apps/calendar/ajax/share/changepermission.php | |
parent | c83f418a024190fc7683b45a1009f01f2d039a17 (diff) | |
parent | c11f6cc3f9121fbb337c248807b802c72b18087b (diff) | |
download | nextcloud-server-ef1b04619daa7b72ca1a8427702bd3552b848e6c.tar.gz nextcloud-server-ef1b04619daa7b72ca1a8427702bd3552b848e6c.zip |
fix merge conflicts
Diffstat (limited to 'apps/calendar/ajax/share/changepermission.php')
-rw-r--r-- | apps/calendar/ajax/share/changepermission.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/calendar/ajax/share/changepermission.php b/apps/calendar/ajax/share/changepermission.php index 2737420c94e..e807c164a23 100644 --- a/apps/calendar/ajax/share/changepermission.php +++ b/apps/calendar/ajax/share/changepermission.php @@ -6,9 +6,9 @@ * See the COPYING-README file. */ -$id = strip_tags($_GET['id']); -$idtype = strip_tags($_GET['idtype']); -$permission = (int) strip_tags($_GET['permission']); +$id = strip_tags($_POST['id']); +$idtype = strip_tags($_POST['idtype']); +$permission = (int) strip_tags($_POST['permission']); switch($idtype){ case 'calendar': case 'event': @@ -25,8 +25,8 @@ if($idtype == 'event' && !OC_Calendar_App::getEventObject($id)){ OCP\JSON::error(array('message'=>'permission denied')); exit; } -$sharewith = $_GET['sharewith']; -$sharetype = strip_tags($_GET['sharetype']); +$sharewith = $_POST['sharewith']; +$sharetype = strip_tags($_POST['sharetype']); switch($sharetype){ case 'user': case 'group': |