]> git.wh0rd.org - tt-rss.git/blobdiff - classes/rssutils.php
Merge branch 'otp' of fturco/tt-rss into master
[tt-rss.git] / classes / rssutils.php
index 613947afbd5e4677fb7523418a55f38d8691df38..e5233b71ca8f8255df592b663bdf3037a22b3fe2 100644 (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) {