summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-18 14:13:24 +0100
committerAndrew Dolgov <[email protected]>2005-11-18 14:13:24 +0100
commit25da6909435aba3bd741082aa6f3ec4cdd9af12e (patch)
treee892d8f99d3e392f7c16757e665f85c85c256ddb /functions.php
parent4e90d6d2737ede378c43669797eaed9c2752358c (diff)
fix tags crosslink bug in update_feed
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 3 insertions, 1 deletions
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;