aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-05 18:11:53 -0800
committerfriendica <info@friendica.com>2012-01-05 18:11:53 -0800
commit291a82c4a465c6c3b1db7087682cb050d1943a08 (patch)
treee272640875cd6231d5c39acbd5954fec665afea2 /mod/item.php
parentb265334c9ee55cf2270926148a094ecae2f68e54 (diff)
downloadvolse-hubzilla-291a82c4a465c6c3b1db7087682cb050d1943a08.tar.gz
volse-hubzilla-291a82c4a465c6c3b1db7087682cb050d1943a08.tar.bz2
volse-hubzilla-291a82c4a465c6c3b1db7087682cb050d1943a08.zip
backend for per-network streams
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php4
1 files changed, 1 insertions, 3 deletions
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();
}