diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-12-01 17:35:01 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-12-04 11:40:33 +0100 |
commit | 40e03ba314fce481c58d92da7070d72c4226c95c (patch) | |
tree | 9aa9c7ee90913ff834bf93f880d14d61c8b966c5 /lib/private/app | |
parent | 1354cee18ebde998a83f9a019d4137071efa8c02 (diff) | |
download | nextcloud-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.php | 3 |
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) { |