]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed: disable output of counters when serving an infscroll request
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Jan 2009 07:15:04 +0000 (08:15 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Jan 2009 07:15:04 +0000 (08:15 +0100)
backend.php

index 33c3a45d4af923e1a1c732ab75a7a57b70f969a0..b772dbbf1f10c7ebf2252095ee443c42d70692d4 100644 (file)
 //                     }
 
                        if (get_pref($link, 'COMBINED_DISPLAY_MODE')) {
-                               print "<counters>";
-                               getAllCounters($link, $omode, $feed);
-                               print "</counters>";
+                               if (!$offset) {
+                                       print "<counters>";
+                                       getAllCounters($link, $omode, $feed);
+                                       print "</counters>";
+                               }
                        }
 
                        if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);