summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-17 21:34:20 +0100
committerGitHub <noreply@github.com>2018-02-17 21:34:20 +0100
commitac63c207a962466ccabf140a4e3f5390b34a8beb (patch)
tree2ddb01bfd87308c13733b53ae949c58556811e88 /settings
parentd953db8683b10bdaf55ab8f3bb8b6b1c42870270 (diff)
parent9b68f80c4bf73ddc845fa64dba90cd858d663af6 (diff)
downloadnextcloud-server-ac63c207a962466ccabf140a4e3f5390b34a8beb.tar.gz
nextcloud-server-ac63c207a962466ccabf140a4e3f5390b34a8beb.zip
Merge pull request #8411 from nextcloud/add-strict-types-to-oc_app
Add strict types to OC_App
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/enableapp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php
index 4014664481a..edcccf9b0b9 100644
--- a/settings/ajax/enableapp.php
+++ b/settings/ajax/enableapp.php
@@ -34,7 +34,7 @@ if ($lastConfirm < (time() - 30 * 60 + 15)) { // allow 15 seconds delay
exit();
}
-$groups = isset($_POST['groups']) ? (array)$_POST['groups'] : null;
+$groups = isset($_POST['groups']) ? (array)$_POST['groups'] : [];
$appIds = isset($_POST['appIds']) ? (array)$_POST['appIds'] : [];
try {