aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
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();
}