From 291a82c4a465c6c3b1db7087682cb050d1943a08 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Jan 2012 18:11:53 -0800 Subject: backend for per-network streams --- mod/item.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mod/item.php') diff --git a/mod/item.php b/mod/item.php index 069f1393c..6b294b93e 100644 --- a/mod/item.php +++ b/mod/item.php @@ -586,11 +586,9 @@ function item_post(&$a) { // preview mode - prepare the body for display and send it via json if($preview) { - $b = prepare_body($datarray,true); require_once('include/conversation.php'); $o = conversation(&$a,array(array_merge($contact_record,$datarray)),'search',false,true); - $json = array('preview' => $o); - echo json_encode($json); + echo json_encode(array('preview' => $o)); killme(); } -- cgit v1.2.3