Commit 647d91aa authored by drumm's avatar drumm

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

parent 631ce5cf
......@@ -810,7 +810,7 @@ function format_xml_elements($array) {
}
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 {
$output .= " />\n";
......@@ -818,7 +818,7 @@ function format_xml_elements($array) {
}
}
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;
......
Markdown is supported
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