Commit 647d91aa authored by drumm's avatar drumm
Browse files

#79733 by Darren Oh. Fix a call to an undefined function.

parent 631ce5cf
...@@ -810,7 +810,7 @@ function format_xml_elements($array) { ...@@ -810,7 +810,7 @@ function format_xml_elements($array) {
} }
if ($value['value'] != '') { if ($value['value'] != '') {
$output .= '>'. (is_array($value['value']) ? format_xml_tags($value['value']) : check_plain($value['value'])) .'</'. $value['key'] .">\n"; $output .= '>'. (is_array($value['value']) ? format_xml_elements($value['value']) : check_plain($value['value'])) .'</'. $value['key'] .">\n";
} }
else { else {
$output .= " />\n"; $output .= " />\n";
...@@ -818,7 +818,7 @@ function format_xml_elements($array) { ...@@ -818,7 +818,7 @@ function format_xml_elements($array) {
} }
} }
else { else {
$output .= ' <'. $key .'>'. (is_array($value) ? format_xml_tags($value) : check_plain($value)) ."</$key>\n"; $output .= ' <'. $key .'>'. (is_array($value) ? format_xml_elements($value) : check_plain($value)) ."</$key>\n";
} }
} }
return $output; return $output;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment