1
0
Fork 0

conversation needs preview parameter

This commit is contained in:
Zach Prezkuta 2012-09-04 18:47:49 -06:00
commit 79012bf888
6 changed files with 8 additions and 8 deletions

View file

@ -608,7 +608,7 @@ function item_post(&$a) {
if($preview) {
require_once('include/conversation.php');
$o = conversation($a,array(array_merge($contact_record,$datarray)),'search', false);
$o = conversation($a,array(array_merge($contact_record,$datarray)),'search', false, true);
logger('preview: ' . $o);
echo json_encode(array('preview' => $o));
killme();