diff options
| author | Andrew Dolgov <fox@bah.org.ru> | 2010-01-11 14:51:05 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.org.ru> | 2010-01-11 14:51:05 +0300 |
| commit | 74d22f0c3068727149f3b264328970be6fe50056 (patch) | |
| tree | a9dc56f612eddd1e204133d3f6d6b9d0e9a7aae0 /functions.php | |
| parent | 80db11136ea9ee914caee54683943b30cb1b158a (diff) | |
remove_feed: properly save orig_feed_id when moving articles to archive
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 7943adef2..ec55467b9 100644 --- a/functions.php +++ b/functions.php @@ -6358,8 +6358,8 @@ WHERE id = '$id'"); } - db_query($link, "UPDATE ttrss_user_entries SET feed_id = NULL - WHERE feed_id = '$id' AND + db_query($link, "UPDATE ttrss_user_entries SET feed_id = NULL, + orig_feed_id = '$id' WHERE feed_id = '$id' AND marked = true AND owner_uid = $owner_uid"); /* remove the feed */ |