Commit 446b2927 authored by Dries's avatar Dries

- Patch #263517 by mfb: fixed notice in RSS feeds.

parent 052ee721
......@@ -970,7 +970,7 @@ function format_xml_elements($array) {
$output .= drupal_attributes($value['attributes']);
}
if ($value['value'] != '') {
if (isset($value['value']) && $value['value'] != '') {
$output .= '>' . (is_array($value['value']) ? format_xml_elements($value['value']) : check_plain($value['value'])) . '</' . $value['key'] . ">\n";
}
else {
......
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