aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ItemObject.php2
-rw-r--r--include/zot.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 6f1c76fa1..f6f7c0fba 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -79,7 +79,7 @@ class Item extends BaseObject {
$indent = '';
$osparkle = '';
$total_children = $this->count_descendants();
- $unseen_comments = (($item->real_uid) ? 0 : $this->count_unseen_descendants());
+ $unseen_comments = (($item['real_uid']) ? 0 : $this->count_unseen_descendants());
$conv = $this->get_conversation();
$observer = $conv->get_observer();
diff --git a/include/zot.php b/include/zot.php
index 837154ee8..d5789438c 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1313,6 +1313,8 @@ function public_recips($msg) {
$r = array_merge($r,$x);
+logger('message: ' . print_r($msg['message'],true));
+
if($include_sys && array_key_exists('public_scope',$msg['message']) && $msg['message']['public_scope'] === 'public') {
$sys = get_sys_channel();
if($sys)