]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix headlines subtoolbar not being inserted for feeds with 0 headlines breaking vario...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 11 Nov 2012 18:01:06 +0000 (22:01 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 11 Nov 2012 18:01:06 +0000 (22:01 +0400)
classes/feeds.php

index 7e95be06f51826bb445813aff057dccfe1d928f5..9a74130b0e21841e35883f7ab2a8b0b29129845a 100644 (file)
@@ -237,15 +237,10 @@ class Feeds extends Handler_Protected {
 \r
                $vgroup_last_feed = $vgr_last_feed;\r
 \r
-//             if (!$offset) {\r
-\r
-                       if (db_num_rows($result) > 0) {\r
-                               $reply['toolbar'] = $this->format_headline_subtoolbar($feed_site_url,\r
-                                       $feed_title,\r
-                                       $feed, $cat_view, $search, $match_on, $search_mode, $view_mode,\r
-                                       $last_error);\r
-                       }\r
-//             }\r
+               $reply['toolbar'] = $this->format_headline_subtoolbar($feed_site_url,\r
+                       $feed_title,\r
+                       $feed, $cat_view, $search, $match_on, $search_mode, $view_mode,\r
+                       $last_error);\r
 \r
                $headlines_count = db_num_rows($result);\r
 \r