]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed: only return counters when subop is present
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Nov 2010 10:38:29 +0000 (13:38 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Nov 2010 10:38:29 +0000 (13:38 +0300)
backend.php

index d9b44aefadd6e0976410cebc4833c543438d0752..13e7b934ad86205a2820c244707244b027316ebc 100644 (file)
 
                        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>";