Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
40e03ba3
Commit
40e03ba3
authored
Dec 01, 2014
by
Thomas Müller
Browse files
adding default key value pair for 'types'
parent
1354cee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/app/infoparser.php
View file @
40e03ba3
...
@@ -60,6 +60,9 @@ class InfoParser {
...
@@ -60,6 +60,9 @@ class InfoParser {
if
(
!
array_key_exists
(
'public'
,
$array
))
{
if
(
!
array_key_exists
(
'public'
,
$array
))
{
$array
[
'public'
]
=
array
();
$array
[
'public'
]
=
array
();
}
}
if
(
!
array_key_exists
(
'types'
,
$array
))
{
$array
[
'types'
]
=
array
();
}
if
(
array_key_exists
(
'documentation'
,
$array
))
{
if
(
array_key_exists
(
'documentation'
,
$array
))
{
foreach
(
$array
[
'documentation'
]
as
$key
=>
$url
)
{
foreach
(
$array
[
'documentation'
]
as
$key
=>
$url
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment