diff options
author | Andrew Dolgov <[email protected]> | 2010-11-11 13:38:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-11 13:38:29 +0300 |
commit | dd25b0c6cdd9b57058022cb6550150fc387c1672 (patch) | |
tree | 58a48e5272ec7ef2139a22a7bead80253517da8e | |
parent | 1ede58149d1fc7929a1daa8c37ee843398dc8e99 (diff) |
viewfeed: only return counters when subop is present
-rw-r--r-- | backend.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend.php b/backend.php index d9b44aefa..13e7b934a 100644 --- a/backend.php +++ b/backend.php @@ -387,7 +387,8 @@ if ($_REQUEST["debug"]) $timing_info = print_checkpoint("20", $timing_info); - if (get_pref($link, 'COMBINED_DISPLAY_MODE') || $subop) { + //if (get_pref($link, 'COMBINED_DISPLAY_MODE') || $subop) { + if ($subop) { print "<counters><![CDATA["; print json_encode(getAllCounters($link, $omode, $feed)); print "]]></counters>"; |