diff options
author | Andrew Dolgov <[email protected]> | 2009-01-17 08:15:04 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-17 08:15:04 +0100 |
commit | b16764641900e498b5c89943e83b2a4fbb324a63 (patch) | |
tree | a65bbba5e1830e01bab310f5d6b6666b761d2703 /backend.php | |
parent | 34c4e5fcab92f3c381f75cd5cd11a26c26c05166 (diff) |
viewfeed: disable output of counters when serving an infscroll request
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 8 |
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); |