summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-11 13:38:29 +0300
committerAndrew Dolgov <[email protected]>2010-11-11 13:38:29 +0300
commitdd25b0c6cdd9b57058022cb6550150fc387c1672 (patch)
tree58a48e5272ec7ef2139a22a7bead80253517da8e /backend.php
parent1ede58149d1fc7929a1daa8c37ee843398dc8e99 (diff)
viewfeed: only return counters when subop is present
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php3
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>";