conversation needs preview parameter

This commit is contained in:
Zach Prezkuta
2012-09-04 18:47:49 -06:00
parent 5beda888b8
commit 79012bf888
6 changed files with 8 additions and 8 deletions
+1 -1
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();