diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-02-13 14:23:22 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-02-13 14:23:22 +0100 |
commit | 4032c7b685fe082990b9fefe6ef390182de70c7c (patch) | |
tree | 9ea89f4bb5a4b3008da54b4b055ac61417f2a340 /settings/ajax | |
parent | a7df23cebadfc0a60095ff53e4ae5e293eb02b38 (diff) | |
download | nextcloud-server-4032c7b685fe082990b9fefe6ef390182de70c7c.tar.gz nextcloud-server-4032c7b685fe082990b9fefe6ef390182de70c7c.zip |
This is an array
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/enableapp.php | 2 |
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); |