]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix tags crosslink bug in update_feed
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 18 Nov 2005 13:13:24 +0000 (14:13 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 18 Nov 2005 13:13:24 +0000 (14:13 +0100)
functions.php

index 6aa9f430a704add386d0bacd1a54720779914203..4438c41bf7d2e04964c6995b0463cd0dc209371f 100644 (file)
                                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;