diff options
author | Mario <mario@mariovavti.com> | 2022-02-13 19:31:51 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-13 19:31:51 +0000 |
commit | c0350861ef0da66209e6b08c75af2c16e3673e25 (patch) | |
tree | 458473253ee91d92c7326b60567de301d272f4ea /Zotlabs/Module | |
parent | a7ec1805e3f5836641503d1f8cb6ccc1d8c885fa (diff) | |
download | volse-hubzilla-c0350861ef0da66209e6b08c75af2c16e3673e25.tar.gz volse-hubzilla-c0350861ef0da66209e6b08c75af2c16e3673e25.tar.bz2 volse-hubzilla-c0350861ef0da66209e6b08c75af2c16e3673e25.zip |
php8 warnings
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Hq.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php index 29b0df739..5001bbe62 100644 --- a/Zotlabs/Module/Hq.php +++ b/Zotlabs/Module/Hq.php @@ -27,6 +27,8 @@ class Hq extends \Zotlabs\Web\Controller { return; } + $item_hash = ''; + if(argc() > 1 && argv(1) !== 'load') { $item_hash = unpack_link_id(argv(1)); } @@ -97,7 +99,7 @@ class Hq extends \Zotlabs\Web\Controller { 'allow_location' => ((intval(get_pconfig($channel['channel_id'],'system','use_browser_location'))) ? '1' : ''), 'default_location' => $channel['channel_location'], 'nickname' => $channel['channel_address'], - 'lockstate' => (($group || $cid || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'), + 'lockstate' => (($channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'), 'acl' => populate_acl($channel_acl,true, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_stream'), get_post_aclDialogDescription(), 'acl_dialog_post'), 'permissions' => $channel_acl, 'bang' => '', @@ -112,6 +114,7 @@ class Hq extends \Zotlabs\Web\Controller { 'reset' => t('Reset form') ]; + $a = ''; $o = status_editor($a, $x, true); } |