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

index 8bf146d7a798bb91caa158de49b0c1f4f3970a3f..6aa9f430a704add386d0bacd1a54720779914203 100644 (file)
                                        FROM
                                                ttrss_entries 
                                        WHERE
-                                               guid = '$entry_guid' AND owner_uid = " . $_SESSION["uid"]);
+                                               guid = '$entry_guid' AND 
+                                               owner_uid = " . $_SESSION["uid"]." AND
+                                               feed_id = '$feed'");
 
 //                             print db_num_rows($result) . "$entry_guid<br/>";