Merge pull request #1726 from rabuzarus/acl-var

fix for #1725
pull/1736/head
fabrixxm 2015-07-02 12:13:14 +02:00
commit 75998b62de
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -27,7 +27,7 @@ function bookmarklet_content(&$a) {
'nickname' => $a->user['nickname'],
'lockstate' => ((is_array($a->user) && ((strlen($a->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || (strlen($a->user['deny_gid'])))) ? 'lock' : 'unlock'),
'default_perms' => get_acl_permissions($a->user),
'acl' => populate_acl($a->user),
'acl' => populate_acl($a->user,true),
'bang' => '',
'visitor' => 'block',
'profile_uid' => local_user(),