diff options
author | friendica <info@friendica.com> | 2014-01-01 21:09:12 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-01 21:09:12 -0800 |
commit | 76106e16d5ac3eaa0327cd4781914733f4c08448 (patch) | |
tree | a8e8ec16a1af1a343c052b5ba16c8839e214078a | |
parent | 057d885baf670467443dea0da0797b9289b919b4 (diff) | |
download | volse-hubzilla-76106e16d5ac3eaa0327cd4781914733f4c08448.tar.gz volse-hubzilla-76106e16d5ac3eaa0327cd4781914733f4c08448.tar.bz2 volse-hubzilla-76106e16d5ac3eaa0327cd4781914733f4c08448.zip |
fix attachment rendering for preview
-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)); |