]> git.wh0rd.org Git - tt-rss.git/commitdiff
only show vfeed group titles in virtual feeds
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 05:06:55 +0000 (06:06 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 05:06:55 +0000 (06:06 +0100)
functions.php

index 737423913d6c7c17c8d58495e84e7450834a9ee1..d01c31d562faac8bbb870edd71773570afc532d5 100644 (file)
                                if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
 
                                        if (get_pref($link, 'VFEED_GROUP_BY_FEED')) {
-                                               if ($feed_id != $vgroup_last_feed) {
+                                               if ($feed_id != $vgroup_last_feed && $line["feed_title"]) {
 
                                                        $cur_feed_title = $line["feed_title"];
                                                        $vgroup_last_feed = $feed_id;
 
                                } else {
 
-                                       if (get_pref($link, 'VFEED_GROUP_BY_FEED')) {
+                                       if (get_pref($link, 'VFEED_GROUP_BY_FEED') && $line["feed_title"]) {
                                                if ($feed_id != $vgroup_last_feed) {
 
                                                        $cur_feed_title = $line["feed_title"];