This is an array

This commit is contained in:
Lukas Reschke 2015-02-13 14:23:22 +01:00
parent a7df23ceba
commit 4032c7b685
1 changed files with 1 additions and 1 deletions

View File

@ -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);