Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-13 16:23:22 +0300
committerLukas Reschke <lukas@owncloud.com>2015-02-13 16:23:22 +0300
commit4032c7b685fe082990b9fefe6ef390182de70c7c (patch)
tree9ea89f4bb5a4b3008da54b4b055ac61417f2a340 /settings/ajax
parenta7df23cebadfc0a60095ff53e4ae5e293eb02b38 (diff)
This is an array
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/enableapp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php
index fcb8b47ea1f..e4bb1d41c1a 100644
--- a/settings/ajax/enableapp.php
+++ b/settings/ajax/enableapp.php
@@ -3,7 +3,7 @@
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
-$groups = isset($_POST['groups']) ? (string)$_POST['groups'] : null;
+$groups = isset($_POST['groups']) ? (array)$_POST['groups'] : null;
try {
OC_App::enable(OC_App::cleanAppId((string)$_POST['appid']), $groups);