more session related bug fixes

This commit is contained in:
JT Smith 2006-01-15 18:34:44 +00:00
parent f2cccdff9f
commit b0ffb721b6
44 changed files with 143 additions and 143 deletions

View file

@ -129,7 +129,7 @@ Returns a message stating that the user does not have the privileges necessary t
sub noAccess {
my $self = shift;
$self->session->http->setStatus("401", "No Access");
if ($self->session->user->profileField("userId") eq '1') {
if ($self->session->user->userId eq '1') {
return WebGUI::Operation::Auth::www_auth("init");
} else {
my $i18n = WebGUI::International->new($self->session);