diff options
-rw-r--r-- | mod/item.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php index b2afc9b1a..444248846 100644 --- a/mod/item.php +++ b/mod/item.php @@ -651,6 +651,7 @@ function item_post(&$a) { $datarray['owner'] = $owner_xchan; $datarray['author'] = $observer; + $datarray['attach'] = json_encode($datarray['attach']); $o = conversation($a,array($datarray),'search',false,'preview'); logger('preview: ' . $o, LOGGER_DEBUG); echo json_encode(array('preview' => $o)); |