diff options
author | Andrew Dolgov <[email protected]> | 2010-12-27 16:47:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-12-27 16:47:33 +0300 |
commit | 476edbbb5fd868fc6b564617be606b7fe71ceca8 (patch) | |
tree | efe4c1d36ac14075b4d2d840d922624b38409d80 /backend.php | |
parent | 32a5e3444dc0cfc1c8045586b4582494853a647c (diff) |
backend/rss: always use secret key to get uid when it is available instead of defaulting to session information; fix published url syntax being incorrect (closes #287)
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 2 |
1 files changed, 1 insertions, 1 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'"); |