From 25da6909435aba3bd741082aa6f3ec4cdd9af12e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 18 Nov 2005 14:13:24 +0100 Subject: fix tags crosslink bug in update_feed --- functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 6aa9f430a..4438c41bf 100644 --- a/functions.php +++ b/functions.php @@ -394,7 +394,9 @@ if (count($entry_tags) > 0) { $result = db_query($link, "SELECT id FROM ttrss_entries - WHERE guid = '$entry_guid' AND owner_uid = " . $_SESSION["uid"]); + WHERE guid = '$entry_guid' + AND feed_id = '$feed' + AND owner_uid = " . $_SESSION["uid"]); if (!$result || db_num_rows($result) != 1) { return; -- cgit v1.2.3