mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
This is an array
This commit is contained in:
parent
a7df23ceba
commit
4032c7b685
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue