Skip to content
Snippets Groups Projects
Commit 647d91aa authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

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

parent 631ce5cf
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment