diff options
author | Andrew Dolgov <[email protected]> | 2006-05-18 02:20:43 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-05-18 02:20:43 +0100 |
commit | dd7d31871e2349edd9a488922eba8f2abfbc3dce (patch) | |
tree | 931d5d80f16328da426510d23948c00f76e1fbf3 /functions.php | |
parent | adba6b8509635496615045bf0bae5998fc0eb412 (diff) |
new filter action: set starred, rename add filter button
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; |