aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/app
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-01 17:35:01 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-04 11:40:33 +0100
commit40e03ba314fce481c58d92da7070d72c4226c95c (patch)
tree9aa9c7ee90913ff834bf93f880d14d61c8b966c5 /lib/private/app
parent1354cee18ebde998a83f9a019d4137071efa8c02 (diff)
downloadnextcloud-server-40e03ba314fce481c58d92da7070d72c4226c95c.tar.gz
nextcloud-server-40e03ba314fce481c58d92da7070d72c4226c95c.zip
adding default key value pair for 'types'
Diffstat (limited to 'lib/private/app')
-rw-r--r--lib/private/app/infoparser.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/app/infoparser.php b/lib/private/app/infoparser.php
index b4bdbea5c04..b0327fa4fd1 100644
--- a/lib/private/app/infoparser.php
+++ b/lib/private/app/infoparser.php
@@ -60,6 +60,9 @@ class InfoParser {
if (!array_key_exists('public', $array)) {
$array['public'] = array();
}
+ if (!array_key_exists('types', $array)) {
+ $array['types'] = array();
+ }
if (array_key_exists('documentation', $array)) {
foreach ($array['documentation'] as $key => $url) {