]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
backend for per-network streams
[friendica.git] / mod / item.php
index 069f1393cf438a392e1669f5db8b0303ae9f798d..6b294b93e5bd1ddcd6b8c218f5c8104817be1c0c 100644 (file)
@@ -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();
        }