]> git.wh0rd.org Git - tt-rss.git/commitdiff
user-details: subscribed feeds list points to site_url
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 4 Dec 2005 19:44:44 +0000 (20:44 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 4 Dec 2005 19:44:44 +0000 (20:44 +0100)
backend.php

index e9ecec31e50dc5a7b44cd09faab16f3df1dce6c1..b1c57c3a920c0aec2c03cb8a59399175591da138 100644 (file)
 
                print "<h1>Subscribed feeds</h1>";
 
-               $result = db_query($link, "SELECT id,title,feed_url FROM ttrss_feeds
+               $result = db_query($link, "SELECT id,title,site_url FROM ttrss_feeds
                        WHERE owner_uid = '$uid' ORDER BY title LIMIT 20");
 
                print "<ul class=\"nomarks\">";
                                $feed_icon = "<img class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\">";
                        }
 
-                       print "<li>$feed_icon&nbsp;<a href=\"".$line["feed_url"]."\">".$line["title"]."</a></li>";
+                       print "<li>$feed_icon&nbsp;<a href=\"".$line["site_url"]."\">".$line["title"]."</a></li>";
                }
 
                if (db_num_rows($result) < $num_feeds) {