]> git.wh0rd.org - tt-rss.git/commitdiff
Merge branch 'pda-rss-now' of richm/tt-rss into pdo-experimental
authorfox <fox+git@fakecake.org>
Mon, 11 Dec 2017 04:01:28 +0000 (04:01 +0000)
committerGogs <gogs@fake.local>
Mon, 11 Dec 2017 04:01:28 +0000 (04:01 +0000)
classes/rssutils.php

index b5ff63d32ac2811ad67403ca53f42e2c9f4e4c5a..613947afbd5e4677fb7523418a55f38d8691df38 100644 (file)
@@ -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