some new stuff

This commit is contained in:
JT Smith 2004-11-24 16:10:16 +00:00
parent 6f9612a0d0
commit 0ffe4c87ce
3 changed files with 1 additions and 1 deletions

View file

@ -88,7 +88,7 @@ Returns a message stating that the user does not have the privileges necessary t
sub noAccess {
WebGUI::HTTP::setStatus("401", "No Access");
my ($output);
if ($session{user}{userId} <= 1) {
if ($session{user}{userId} eq '1') {
$output = WebGUI::Operation::Auth::www_auth("init");
} else {
$output = '<h1>'.WebGUI::International::get(37).'</h1>';

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before After
Before After