summaryrefslogtreecommitdiff
path: root/include
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 /include
parent41245888f1c538f15d7ffa3a0ddc9310b60c98d7 (diff)
fix multiple issues with archived feeds
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index fb2fff286..15797a95d 100755
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1410,7 +1410,7 @@
if ($line["orig_feed_id"]) {
$tmp_result = db_query("SELECT * FROM ttrss_archived_feeds
- WHERE id = ".$line["orig_feed_id"]);
+ WHERE id = ".$line["orig_feed_id"] . " AND owner_uid = " . $_SESSION["uid"]);
if (db_num_rows($tmp_result) != 0) {