X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/8697e69e3aefdb3c0ef9faba8bbd2938fa815685..251616969893b447852aad81a4e68be6853e202e:/widget/login/list.php diff --git a/widget/login/list.php b/widget/login/list.php index 698b805..da4acd2 100644 --- a/widget/login/list.php +++ b/widget/login/list.php @@ -38,7 +38,7 @@ print ">\n"; foreach ($users as $user) { $name = $user->name ?: $user->login; - if ($GLOBALS['User'] and $GLOBALS['User']->admin) { + if ($GLOBALS['User'] and $GLOBALS['User']->admin('user')) { $link = '/login/edit/'.$user->login; $name = sprintf('%s', $link, $name); }