]> git.mxchange.org Git - friendica.git/commitdiff
Fixed wrong app reference
authorPhilipp Holzer <admin+github@philipp.info>
Mon, 26 Aug 2019 22:03:05 +0000 (00:03 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Mon, 26 Aug 2019 22:03:05 +0000 (00:03 +0200)
src/Module/Bookmarklet.php

index 1b6ff384597169eae700e21e3536bb17b9847d09..283ab0117b40437838c89a0b90d8ea7b30557393 100644 (file)
@@ -42,7 +42,7 @@ class Bookmarklet extends BaseModule
                                'allow_location'   => $app->user['allow_location'],
                                'default_location' => $app->user['default-location'],
                                '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),
                                'acl'              => ACL::getFullSelectorHTML($app->user, true),
                                'bang'             => '',