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 " Tiny Tiny RSS : Article $id