Include NOW() in prepared SQL for rssutils.php
This commit is contained in:
parent
83a052f1fa
commit
aa16334f1f
1 changed files with 2 additions and 2 deletions
|
@ -953,10 +953,10 @@ class RSSUtils {
|
||||||
(ref_id, owner_uid, feed_id, unread, last_read, marked,
|
(ref_id, owner_uid, feed_id, unread, last_read, marked,
|
||||||
published, score, tag_cache, label_cache, uuid,
|
published, score, tag_cache, label_cache, uuid,
|
||||||
last_marked, last_published)
|
last_marked, last_published)
|
||||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, '', '', '', ?, ?)");
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, '', '', '', ".$last_marked.", ".$last_published.")");
|
||||||
|
|
||||||
$sth->execute([$ref_id, $owner_uid, $feed, $unread, $last_read_qpart, $marked,
|
$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
|
$sth = $pdo->prepare("SELECT int_id FROM ttrss_user_entries WHERE
|
||||||
ref_id = ? AND owner_uid = ? AND
|
ref_id = ? AND owner_uid = ? AND
|
||||||
|
|
Loading…
Reference in a new issue