aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php4
-rw-r--r--mod/network.php2
2 files changed, 3 insertions, 3 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();
}
diff --git a/mod/network.php b/mod/network.php
index b740ed2a4..7e1bfdcda 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -712,7 +712,7 @@ logger('items: ' . count($items));
$mode = (($nouveau) ? 'network-new' : 'network');
- $o .= conversation($a,$items,$mode,$update);
+ $o .= conversation($a,$items,$mode,$update,'client');
if(! $update) {
$o .= alt_pager($a,count($items));