diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index aae7ab453..bc8171c6d 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -848,14 +848,13 @@ if ($p_from != 'tt-rss') { print "
-Return to Tiny Tiny RSS |"; - $result = db_query($link, "SELECT id FROM ttrss_feeds WHERE feed_url = '$feed_url' AND owner_uid = " . $_SESSION["uid"]); $feed_id = db_fetch_result($result, 0, "id"); + print "
"; + if ($feed_id) { - print " - Edit subscription options | "; + print "
"; } - print "Close this window."; + print ""; - print "