summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/views_plugin_style_rss_fields.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/views_plugin_style_rss_fields.inc b/views/views_plugin_style_rss_fields.inc
index 1b79942..2215e87 100644
--- a/views/views_plugin_style_rss_fields.inc
+++ b/views/views_plugin_style_rss_fields.inc
@@ -44,7 +44,8 @@ class views_plugin_style_rss_fields extends views_plugin_style {
$channel_elements = $this->xml_channel_elements();
if (count($channel_elements)) {
foreach (array_keys($channel_elements) as $element_name) {
- $options['channel'][$element_name] = array('default' => '');
+ list($namespace, $element_name) = $this->extract_element_names($element, 'core');
+ $options['channel'][$namespace][$element_name] = array('default' => '');
}
}
@@ -53,7 +54,7 @@ class views_plugin_style_rss_fields extends views_plugin_style {
if (count($item_elements)) {
foreach (array_keys($item_elements) as $element) {
list($namespace, $element_name) = $this->extract_element_names($element, 'core');
- $options[$namespace][$element_name] = array('default' => '');
+ $options['item'][$namespace][$element_name] = array('default' => '');
}
}