summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 914a04ba6..51551314e 100644
--- a/backend.php
+++ b/backend.php
@@ -520,7 +520,7 @@
num_comments,
author
FROM ttrss_entries,ttrss_user_entries
- WHERE id = '$id' AND ref_id = id");
+ WHERE id = '$id' AND ref_id = id AND owner_uid = " . $_SESSION["uid"]);
print "<html><head>
<title>Tiny Tiny RSS : Article $id</title>