summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
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 8bf146d7a..6aa9f430a 100644
--- a/functions.php
+++ b/functions.php
@@ -269,7 +269,9 @@
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/>";