diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/functions.php b/functions.php index e11eafcb2..06b142d73 100644 --- a/functions.php +++ b/functions.php @@ -529,12 +529,18 @@ $unread = 'false'; $last_read_qpart = 'NOW()'; } + + if ($filter_name == 'mark') { + $marked = 'true'; + } else { + $marked = 'false'; + } $result = db_query($link, "INSERT INTO ttrss_user_entries - (ref_id, owner_uid, feed_id, unread, last_read) + (ref_id, owner_uid, feed_id, unread, last_read, marked) VALUES ('$ref_id', '$owner_uid', '$feed', $unread, - $last_read_qpart)"); + $last_read_qpart, $marked)"); } $post_needs_update = false; |