From aa16334f1f9dd9c6459f26f1594f17d555066a29 Mon Sep 17 00:00:00 2001 From: Richard Mortimer Date: Sun, 10 Dec 2017 23:05:03 +0000 Subject: [PATCH] Include NOW() in prepared SQL for rssutils.php --- classes/rssutils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/rssutils.php b/classes/rssutils.php index b5ff63d3..613947af 100644 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -953,10 +953,10 @@ class RSSUtils { (ref_id, owner_uid, feed_id, unread, last_read, marked, published, score, tag_cache, label_cache, uuid, last_marked, last_published) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, '', '', '', ?, ?)"); + VALUES (?, ?, ?, ?, ?, ?, ?, ?, '', '', '', ".$last_marked.", ".$last_published.")"); $sth->execute([$ref_id, $owner_uid, $feed, $unread, $last_read_qpart, $marked, - $published, $score, $last_marked, $last_published]); + $published, $score]); $sth = $pdo->prepare("SELECT int_id FROM ttrss_user_entries WHERE ref_id = ? AND owner_uid = ? AND