aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index a8e89d194..46621a243 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1491,7 +1491,7 @@ function hz_status_editor($a, $x, $popup = false) {
'$attachment' => ((x($x, 'attachment')) ? $x['attachment'] : ''),
'$post_id' => ((x($x, 'post_id')) ? $x['post_id'] : ''),
'$defloc' => $x['default_location'] ?? '',
- '$visitor' => $x['visitor'],
+ '$visitor' => $x['visitor'] ?? '',
'$lockstate' => $x['lockstate'] ?? '',
'$acl' => $x['acl'] ?? '',
'$allow_cid' => acl2json($x['permissions']['allow_cid']),