From: Julien Tardot Date: Sun, 7 Jul 2013 09:55:06 +0000 (+0200) Subject: Correct feed ID in feeds self URL. X-Git-Tag: 1.9~69^2^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=39119f02167454a44025b4a15c09553e5c221938;p=tt-rss.git Correct feed ID in feeds self URL. --- diff --git a/classes/handler/public.php b/classes/handler/public.php index 0d6ef11c..b1546356 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -65,8 +65,8 @@ class Handler_Public extends Handler { $last_error = $qfh_ret[3]; $feed_self_url = get_self_url_prefix() . - "/public.php?op=rss&id=-2&key=" . - get_feed_access_key(-2, false, $owner_uid); + "/public.php?op=rss&id=$feed&key=" . + get_feed_access_key($feed, false, $owner_uid); if (!$feed_site_url) $feed_site_url = get_self_url_prefix();