From d4c05d0be2c0e865d06b24d334afeeeebadcfd58 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Dec 2017 18:27:23 +0300 Subject: [PATCH] update_rss_feed: don't try to use quoted NOW() in query --- classes/rssutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/rssutils.php b/classes/rssutils.php index 613947afb..e5233b71c 100644 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -930,7 +930,7 @@ class RSSUtils { $last_read_qpart = null; } else { $unread = 0; - $last_read_qpart = 'NOW()'; + $last_read_qpart = date("Y-m-d H:i"); // we can't use NOW() here because it gets quoted } if (RSSUtils::find_article_filter($article_filters, 'mark') || $score > 1000) {