summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend.php2
-rw-r--r--functions.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 410f89864..962453c4b 100644
--- a/backend.php
+++ b/backend.php
@@ -474,7 +474,7 @@
authenticate_user($link, "admin", null);
}
- if ($key && !$_SESSION["uid"]) {
+ if ($key) {
$result = db_query($link, "SELECT owner_uid FROM
ttrss_access_keys WHERE access_key = '$key' AND feed_id = '$feed'");
diff --git a/functions.php b/functions.php
index 84738ddb8..3928b2a34 100644
--- a/functions.php
+++ b/functions.php
@@ -4093,7 +4093,7 @@
"</option>";
$rss_link = htmlspecialchars(get_self_url_prefix() .
- "/backend.php?op=rss&id=$feed_id&is_cat=$is_cat$view_mode$search_q");
+ "/backend.php?op=rss&id=$feed_id&is_cat=$is_cat&view_mode=$view_mode$search_q");
print "<option value=\"0\" disabled=\"1\">".__('Feed:')."</option>";