diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-17 21:34:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-17 21:34:20 +0100 |
commit | ac63c207a962466ccabf140a4e3f5390b34a8beb (patch) | |
tree | 2ddb01bfd87308c13733b53ae949c58556811e88 /settings | |
parent | d953db8683b10bdaf55ab8f3bb8b6b1c42870270 (diff) | |
parent | 9b68f80c4bf73ddc845fa64dba90cd858d663af6 (diff) | |
download | nextcloud-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.php | 2 |
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 { |