From 4e05008aaca008af231eaebfe88abaf058da209a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 30 Sep 2019 11:41:07 +0300 Subject: [PATCH] update_rss_feed: force cast initial timestamp value to integer --- classes/rssutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/rssutils.php b/classes/rssutils.php index cee8be8ff..f5c39c261 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -559,7 +559,7 @@ class RSSUtils { Debug::log("guid $entry_guid / $entry_guid_hashed", Debug::$LOG_VERBOSE); - $entry_timestamp = strip_tags($item->get_date()); + $entry_timestamp = (int)$item->get_date(); Debug::log("orig date: " . $item->get_date(), Debug::$LOG_VERBOSE);