aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php2
-rw-r--r--mod/photos.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index d4d337584..069f1393c 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -588,7 +588,7 @@ function item_post(&$a) {
if($preview) {
$b = prepare_body($datarray,true);
require_once('include/conversation.php');
- $o = conversation(&$a,array(array_merge($datarray,$contact_record)),'search',false);
+ $o = conversation(&$a,array(array_merge($contact_record,$datarray)),'search',false,true);
$json = array('preview' => $o);
echo json_encode($json);
killme();
diff --git a/mod/photos.php b/mod/photos.php
index bf3299de0..d2f45652f 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1203,6 +1203,7 @@ function photos_content(&$a) {
'$myphoto' => $contact['thumb'],
'$comment' => t('Comment'),
'$submit' => t('Submit'),
+ '$preview' => t('Preview'),
'$ww' => ''
));
}