aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-25 18:57:04 -0700
committerfriendica <info@friendica.com>2012-07-25 18:57:04 -0700
commitfc53a7a09ed16504ae88b064640c91882c34ef8b (patch)
treebe792b3af939592331f933f0323665a8adb80121 /mod/item.php
parent78b8684ab4202d62d815ad2dbef3d1b620cef3ef (diff)
downloadvolse-hubzilla-fc53a7a09ed16504ae88b064640c91882c34ef8b.tar.gz
volse-hubzilla-fc53a7a09ed16504ae88b064640c91882c34ef8b.tar.bz2
volse-hubzilla-fc53a7a09ed16504ae88b064640c91882c34ef8b.zip
recover existing conversation loading functionality for home,search,community,display,etc. whilst working on the ajax stuff in network
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php
index 5c3a0d888..87f7f75d9 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -604,8 +604,8 @@ function item_post(&$a) {
if($preview) {
require_once('include/conversation.php');
- $o = conversation($a,array(array_merge($contact_record,$datarray)),'search',false,true);
- logger('preview: ' . $o);
+ $o = conversation($a,array(array_merge($contact_record,$datarray)),'search',false,'preview');
+ logger('preview: ' . $o, LOGGER_DEBUG);
echo json_encode(array('preview' => $o));
killme();
}