diff options
author | Richard Mortimer <[email protected]> | 2017-12-10 23:05:03 +0000 |
---|---|---|
committer | Richard Mortimer <[email protected]> | 2017-12-10 23:05:52 +0000 |
commit | aa16334f1f9dd9c6459f26f1594f17d555066a29 (patch) | |
tree | 35551d07a79ea310bccebd413045f93091b9c41a | |
parent | 83a052f1fa36e6bcebc6b6ee1ba6cfc9d9f480d0 (diff) |
Include NOW() in prepared SQL for rssutils.php
-rw-r--r-- | classes/rssutils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php index b5ff63d32..613947afb 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 |