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
1 changed files with 1 additions and 1 deletions

View File

@ -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) {