replaced return; with return undef;
This commit is contained in:
parent
ffa90c5fbd
commit
fa09c41598
113 changed files with 287 additions and 286 deletions
|
|
@ -112,7 +112,7 @@ The current WebGUI::Session object.
|
|||
sub handler {
|
||||
my $session = shift;
|
||||
unless ($session->setting->get("specialState") eq "init") {
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
$session->http->setCacheControl("none");
|
||||
my $i18n = WebGUI::International->new($session, "WebGUI");
|
||||
|
|
@ -489,7 +489,7 @@ a:visited { color: '.$form->get("visitedLinkColor").'; }
|
|||
# remove init state
|
||||
$session->setting->remove('specialState');
|
||||
$session->http->setRedirect($session->url->gateway("?setup=complete"));
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
else {
|
||||
$legend = "Admin Acccount";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue