fix tags crosslink bug in update_feed

This commit is contained in:
Andrew Dolgov 2005-11-18 14:13:24 +01:00
parent 4e90d6d273
commit 25da690943
1 changed files with 3 additions and 1 deletions

View File

@ -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;