Fixed a problem where anybody could see the complete list of admin console

functions in the adminbar, even though they couldn't actually use them.
This commit is contained in:
JT Smith 2006-05-16 14:04:34 +00:00
parent b8e8478305
commit 9b92fdd8b9
3 changed files with 5 additions and 3 deletions

View file

@ -52,7 +52,7 @@ sub process {
title=>$item->{title},
icon=>$item->{'icon.small'},
url=>$item->{url}
});
}) if ($item->{canUse});
}
push(@adminbar, {
label => $i18n->get("admin console","AdminConsole"),