1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:35:55 +00:00

update_rss_feed: don't try to use quoted NOW() in query

This commit is contained in:
Andrew Dolgov
2017-12-18 18:27:23 +03:00
parent 6fb5f17be6
commit d4c05d0be2

View File

@@ -930,7 +930,7 @@ class RSSUtils {
$last_read_qpart = null; $last_read_qpart = null;
} else { } else {
$unread = 0; $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) { if (RSSUtils::find_article_filter($article_filters, 'mark') || $score > 1000) {