]> source.dussan.org Git - nextcloud-server.git/commitdiff
This is an array
authorLukas Reschke <lukas@owncloud.com>
Fri, 13 Feb 2015 13:23:22 +0000 (14:23 +0100)
committerLukas Reschke <lukas@owncloud.com>
Fri, 13 Feb 2015 13:23:22 +0000 (14:23 +0100)
settings/ajax/enableapp.php

index fcb8b47ea1fea05baca2c99141917e1bb888ad60..e4bb1d41c1ae4b5dffccdd8fbf094254bea6eb47 100644 (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);