From: Andrew Dolgov Date: Thu, 29 Dec 2005 17:46:11 +0000 (+0100) Subject: disable linking for feeds already linked to X-Git-Tag: schema_freeze_for_1.1.2~48 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3b0027a4be16eb2d504b0ca56affbd1d86491ec8;p=tt-rss.git disable linking for feeds already linked to --- diff --git a/backend.php b/backend.php index 467d1af0..067995b8 100644 --- a/backend.php +++ b/backend.php @@ -1632,9 +1632,20 @@ $row_class = toggleEvenOdd($row_class); print "Link to:"; + $tmp_result = db_query($link, "SELECT COUNT(id) AS count + FROM ttrss_feeds WHERE parent_feed = '$feed_id'"); + + $linked_count = db_fetch_result($tmp_result, 0, "count"); + + $parent_feed = db_fetch_result($result, 0, "parent_feed"); - - print ""; + print ""; if (get_pref($link, 'ENABLE_FEED_CATS')) {