From 74d22f0c3068727149f3b264328970be6fe50056 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 11 Jan 2010 14:51:05 +0300 Subject: [PATCH] remove_feed: properly save orig_feed_id when moving articles to archive --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 7943adef..ec55467b 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 */ -- 2.39.2