summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraroq2013-10-11 08:26:23 (GMT)
committer Maciej Zgadzaj2013-10-11 08:26:23 (GMT)
commit6b830d0c44e64dbbad32581d32c420d2a84d26c1 (patch)
tree38880be70587e006aaa14899e6352637619b97a9
parent5ab174a44775808a35f552b9cf37eeae6d02abd3 (diff)
Issue #1944396 by badjava, aroq: pubDate and lastBuildDate do not display in channel section of XML outputHEAD7.x-2.x
-rw-r--r--modules/views_rss_core/views_rss_core.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/views_rss_core/views_rss_core.inc b/modules/views_rss_core/views_rss_core.inc
index d61dd3e..85cd14d 100644
--- a/modules/views_rss_core/views_rss_core.inc
+++ b/modules/views_rss_core/views_rss_core.inc
@@ -120,7 +120,7 @@ function views_rss_core_preprocess_channel_date(&$variables) {
if (count($variables['view']->result) > 0) {
$max_date = 0;
foreach ($variables['view']->result as $row) {
- $key = strtolower($variables['elements'][0]['key']);
+ $key = $variables['elements'][0]['key'];
if (isset($row->$key) && $row->$key > $max_date) {
$max_date = $row->$key;
}