summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-07-19 10:38:13 +0000
committerDries Buytaert <dries@buytaert.net>2008-07-19 10:38:13 +0000
commit446b29271cb9b18683115e8404367986baf60dda (patch)
treec2a8f2a43506b61f45166038bd6bfdfd78449a76 /includes/common.inc
parent052ee7213310895a4a7a11b4fc8989fafeba5ce9 (diff)
downloadbrdo-446b29271cb9b18683115e8404367986baf60dda.tar.gz
brdo-446b29271cb9b18683115e8404367986baf60dda.tar.bz2
- Patch #263517 by mfb: fixed notice in RSS feeds.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index ee604fb9e..3d5bff905 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -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 {