Loading modules/views_rss_core/views_rss_core.module +1 −1 Original line number Diff line number Diff line Loading @@ -302,7 +302,7 @@ function views_rss_core_preprocess_views_view_rss(&$variables) { foreach ($row['#row']->elements as $element) { if ($element['key'] === 'pubDate') { $this_pub_date = (string) $element['value']; if (strtotime($this_pub_date) > strtotime($max_pub_date)) { if (!$max_pub_date || strtotime($this_pub_date) > strtotime($max_pub_date)) { $max_pub_date = $this_pub_date; } break; Loading Loading
modules/views_rss_core/views_rss_core.module +1 −1 Original line number Diff line number Diff line Loading @@ -302,7 +302,7 @@ function views_rss_core_preprocess_views_view_rss(&$variables) { foreach ($row['#row']->elements as $element) { if ($element['key'] === 'pubDate') { $this_pub_date = (string) $element['value']; if (strtotime($this_pub_date) > strtotime($max_pub_date)) { if (!$max_pub_date || strtotime($this_pub_date) > strtotime($max_pub_date)) { $max_pub_date = $this_pub_date; } break; Loading