bugfix [ 914217 ] content managers cannot turn admin on

This commit is contained in:
JT Smith 2004-03-25 20:41:19 +00:00
parent b20513c235
commit 1d5d9710da
5 changed files with 6 additions and 5 deletions

View file

@ -23,7 +23,7 @@ our @EXPORT = qw(&menuWrapper);
#-------------------------------------------------------------------
sub accountOptions {
my @array;
if (WebGUI::Privilege::isInGroup(5)) {
if (WebGUI::Privilege::isInGroup(12)) {
my %hash;
if ($session{var}{adminOn}) {
$hash{'options.display'} .= '<a href="'.WebGUI::URL::page('op=switchOffAdmin').'">'.WebGUI::International::get(12).'</a>';