Skip to content
Snippets Groups Projects
Commit 4032c7b6 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

This is an array

parent a7df23ce
Branches
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
OC_JSON::checkAdminUser(); OC_JSON::checkAdminUser();
OCP\JSON::callCheck(); OCP\JSON::callCheck();
$groups = isset($_POST['groups']) ? (string)$_POST['groups'] : null; $groups = isset($_POST['groups']) ? (array)$_POST['groups'] : null;
try { try {
OC_App::enable(OC_App::cleanAppId((string)$_POST['appid']), $groups); OC_App::enable(OC_App::cleanAppId((string)$_POST['appid']), $groups);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment