summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-01-26 19:03:05 +0300
committerAndrew Dolgov <[email protected]>2016-01-26 19:03:05 +0300
commit71b75bb7faabf9e662d76a292c8260634160afee (patch)
tree2c35433f67ec2d0aa0b14f299061e0ac793a1e19 /classes/feeds.php
parent41245888f1c538f15d7ffa3a0ddc9310b60c98d7 (diff)
fix multiple issues with archived feeds
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index df0fd440b..61b1f738e 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -671,7 +671,7 @@ class Feeds extends Handler_Protected {
if ($line["orig_feed_id"]) {
$tmp_result = $this->dbh->query("SELECT * FROM ttrss_archived_feeds
- WHERE id = ".$line["orig_feed_id"]);
+ WHERE id = ".$line["orig_feed_id"] . " AND owner_uid = " . $_SESSION["uid"]);
if ($this->dbh->num_rows($tmp_result) != 0) {