Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
647d91aa
Commit
647d91aa
authored
Aug 23, 2006
by
drumm
Browse files
#79733
by Darren Oh. Fix a call to an undefined function.
parent
631ce5cf
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
647d91aa
...
...
@@ -810,7 +810,7 @@ function format_xml_elements($array) {
}
if
(
$value
[
'value'
]
!=
''
)
{
$output
.
=
'>'
.
(
is_array
(
$value
[
'value'
])
?
format_xml_
tag
s
(
$value
[
'value'
])
:
check_plain
(
$value
[
'value'
]))
.
'</'
.
$value
[
'key'
]
.
">
\n
"
;
$output
.
=
'>'
.
(
is_array
(
$value
[
'value'
])
?
format_xml_
element
s
(
$value
[
'value'
])
:
check_plain
(
$value
[
'value'
]))
.
'</'
.
$value
[
'key'
]
.
">
\n
"
;
}
else
{
$output
.
=
" />
\n
"
;
...
...
@@ -818,7 +818,7 @@ function format_xml_elements($array) {
}
}
else
{
$output
.
=
' <'
.
$key
.
'>'
.
(
is_array
(
$value
)
?
format_xml_
tag
s
(
$value
)
:
check_plain
(
$value
))
.
"</
$key
>
\n
"
;
$output
.
=
' <'
.
$key
.
'>'
.
(
is_array
(
$value
)
?
format_xml_
element
s
(
$value
)
:
check_plain
(
$value
))
.
"</
$key
>
\n
"
;
}
}
return
$output
;
...
...
Write
Preview
Supports
Markdown
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