Fixed wrong app reference

This commit is contained in:
Philipp Holzer 2019-08-27 00:03:05 +02:00
parent 720534a82b
commit 62f7510aa7
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -42,7 +42,7 @@ class Bookmarklet extends BaseModule
'allow_location' => $app->user['allow_location'], 'allow_location' => $app->user['allow_location'],
'default_location' => $app->user['default-location'], 'default_location' => $app->user['default-location'],
'nickname' => $app->user['nickname'], 'nickname' => $app->user['nickname'],
'lockstate' => ((is_array($app->user) && ((strlen($app->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($app->user['deny_cid'])) || (strlen($app->user['deny_gid'])))) ? 'lock' : 'unlock'), 'lockstate' => ((is_array($app->user) && ((strlen($app->user['allow_cid'])) || (strlen($app->user['allow_gid'])) || (strlen($app->user['deny_cid'])) || (strlen($app->user['deny_gid'])))) ? 'lock' : 'unlock'),
'default_perms' => ACL::getDefaultUserPermissions($app->user), 'default_perms' => ACL::getDefaultUserPermissions($app->user),
'acl' => ACL::getFullSelectorHTML($app->user, true), 'acl' => ACL::getFullSelectorHTML($app->user, true),
'bang' => '', 'bang' => '',