update_rss_feed: don't try to use quoted NOW() in query
This commit is contained in:
parent
6fb5f17be6
commit
d4c05d0be2
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue