summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-17 08:15:04 +0100
committerAndrew Dolgov <[email protected]>2009-01-17 08:15:04 +0100
commitb16764641900e498b5c89943e83b2a4fbb324a63 (patch)
treea65bbba5e1830e01bab310f5d6b6666b761d2703 /backend.php
parent34c4e5fcab92f3c381f75cd5cd11a26c26c05166 (diff)
viewfeed: disable output of counters when serving an infscroll request
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index 33c3a45d4..b772dbbf1 100644
--- a/backend.php
+++ b/backend.php
@@ -349,9 +349,11 @@
// }
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);