From: Friendika Date: Mon, 14 Feb 2011 12:43:49 +0000 (-0800) Subject: ajax comments X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df209907536a3c5e093b8ae95070ca9941c6c797;p=friendica.git ajax comments --- diff --git a/mod/item.php b/mod/item.php index 0d9a674f23..2cc2b9eb2c 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 }