From: Andrew Dolgov Date: Mon, 18 Dec 2017 15:27:23 +0000 (+0300) Subject: update_rss_feed: don't try to use quoted NOW() in query X-Git-Tag: 18.8~95 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d4c05d0be2c0e865d06b24d334afeeeebadcfd58;p=tt-rss.git update_rss_feed: don't try to use quoted NOW() in query --- diff --git a/classes/rssutils.php b/classes/rssutils.php index 613947af..e5233b71 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) {