more i18n fixes

This commit is contained in:
Colin Kuskie 2006-01-15 01:04:35 +00:00
parent 16b0edfb6b
commit f78591d8a7
8 changed files with 27 additions and 20 deletions

View file

@ -65,7 +65,8 @@ sub www_auth {
my $methodCall = shift || $session->form->process("method") || "init";
if(!$authMethod->isCallable($methodCall)){
$session->errorHandler->security("access uncallable auth method on page '".$session->asset->getTitle."' [".$session->asset->pageId."].");
return WebGUI::International::get(1077);
my $i18n = WebGUI::International->new($self->session);
return $i18n->get(1077);
}
return $session->style->userStyle($authMethod->$methodCall);
}