summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-10 19:04:16 +0300
committerAndrew Dolgov <[email protected]>2010-11-10 19:04:16 +0300
commit8cab2eb923a9e4af4d902ee4f9b4b31e461f6ade (patch)
tree2cb5334a8b3cfbbe3a4cbbfe6b05170420f00026 /backend.php
parent905ff52a362b6afc28a2c3ed1cbc9b90d63253ba (diff)
backend: fix warning in zoom mode
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 68187428b..5e963f1eb 100644
--- a/backend.php
+++ b/backend.php
@@ -218,7 +218,7 @@
$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)
@@ -245,7 +245,7 @@
print "]]></counters>";
} */
- print "</reply>";
+ if ($mode != "zoom") print "</reply>";
break; // view
case "viewfeed":