remove_feed: properly save orig_feed_id when moving articles to archive

master
Andrew Dolgov 15 years ago
parent 80db11136e
commit 74d22f0c30

@ -6358,8 +6358,8 @@
WHERE id = '$id'"); WHERE id = '$id'");
} }
db_query($link, "UPDATE ttrss_user_entries SET feed_id = NULL db_query($link, "UPDATE ttrss_user_entries SET feed_id = NULL,
WHERE feed_id = '$id' AND orig_feed_id = '$id' WHERE feed_id = '$id' AND
marked = true AND owner_uid = $owner_uid"); marked = true AND owner_uid = $owner_uid");
/* remove the feed */ /* remove the feed */

Loading…
Cancel
Save