aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/item.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index 0d9a674f2..2cc2b9eb2 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -492,6 +492,9 @@ function item_post(&$a) {
if((x($_POST,'return')) && strlen($_POST['return']))
goaway($a->get_baseurl() . "/" . $_POST['return'] );
+
+ $json = array('success' => 1);
+ echo json_encode($json);
killme();
// NOTREACHED
}