]> git.wh0rd.org Git - tt-rss.git/commitdiff
Correct feed ID in feeds self URL.
authorJulien Tardot <julien.tardot@gmail.com>
Sun, 7 Jul 2013 09:55:06 +0000 (11:55 +0200)
committerJulien Tardot <julien.tardot@gmail.com>
Sun, 7 Jul 2013 09:55:06 +0000 (11:55 +0200)
classes/handler/public.php

index 0d6ef11c0896988525c99d3066e649b76ef0591b..b154635647db4f2722d0f86999139f9b368d928e 100644 (file)
@@ -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();