]> git.wh0rd.org Git - tt-rss.git/commitdiff
backend: fix warning in zoom mode
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Nov 2010 16:04:16 +0000 (19:04 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Nov 2010 16:04:16 +0000 (19:04 +0300)
backend.php

index 68187428b1b15f284a9485a40611928e70077271..5e963f1ebfcce7e6b16cacc47170f246579a7da9 100644 (file)
                        $mode = db_escape_string($_REQUEST["mode"]);
                        $omode = db_escape_string($_REQUEST["omode"]);
 
-                       print "<reply>";
+                       if ($mode != "zoom") print "<reply>";
 
                        // in prefetch mode we only output requested cids, main article 
                        // just gets marked as read (it already exists in client cache)
                                print "]]></counters>";
                        } */
 
-                       print "</reply>";
+                       if ($mode != "zoom") print "</reply>";
                break; // view
 
                case "viewfeed":