]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
Merge branch 'ajaxcomms'
[friendica.git] / mod / item.php
index 0d9a674f23efceb6d4893e6f0b4aea5932b10a83..2cc2b9eb2cd9a1564cc8cedbb7e0224283a550c3 100644 (file)
@@ -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
 }