From dfb1655504644dc503d9a8d4ca535a9178ac98df Mon Sep 17 00:00:00 2001 From: e107steved Date: Thu, 5 Jun 2008 19:55:57 +0000 Subject: [PATCH] Small bugfix on atom dates --- e107_handlers/magpie_rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/magpie_rss.php b/e107_handlers/magpie_rss.php index 74d1f4429..828d66f20 100644 --- a/e107_handlers/magpie_rss.php +++ b/e107_handlers/magpie_rss.php @@ -391,7 +391,7 @@ class MagpieRSS { $atom_date = (isset($item['issued']) ) ? $item['issued'] : $item['modified']; if ( $atom_date ) { - $epoch = @parse_w3cdtf($item['modified']); + $epoch = @parse_w3cdtf($atom_date); if ($epoch and $epoch > 0) { $item['date_timestamp'] = $epoch; }