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

master
Andrew Dolgov 7 years ago
parent 6fb5f17be6
commit d4c05d0be2

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

Loading…
Cancel
Save