diff options
Diffstat (limited to 'settings')
-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); |