diff --git a/include/permissions.php b/include/permissions.php index 81c6471a3..afbd286e9 100644 --- a/include/permissions.php +++ b/include/permissions.php @@ -186,7 +186,7 @@ function get_all_perms($uid, $observer_xchan, $default_ignored = true) if (! $x) { // deliver_stream is assumed to be permitted unles it is prohibited for specific connections. if ($perm_name === 'deliver_stream') { - $ret['perm_name'] = true; + $ret[$perm_name] = true; } $ret[$perm_name] = false; continue;