diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php index f06016966..e515fb26a 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1213,6 +1213,10 @@ function status_editor($a, $x, $popup = false) { if(! $cipher) $cipher = 'aes256'; + // avoid illegal offset errors + if(! array_key_exists('permissions',$x)) + $x['permissions'] = [ 'allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '' ]; + $jotplugins = ''; call_hooks('jot_tool', $jotplugins); |