From: Andrew Dolgov Date: Fri, 18 Nov 2005 13:13:24 +0000 (+0100) Subject: fix tags crosslink bug in update_feed X-Git-Tag: schema_feature_freeze_for_1.1~213 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=25da6909435aba3bd741082aa6f3ec4cdd9af12e;p=tt-rss.git fix tags crosslink bug in update_feed --- diff --git a/functions.php b/functions.php index 6aa9f430..4438c41b 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;