From: Sven Schöling Date: Tue, 16 Oct 2012 13:29:19 +0000 (+0200) Subject: SL::Layout -> SL::Layout::Dispatcher X-Git-Tag: release-3.0.0beta1~126 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ceaf043b0d2c67a63cda3aee5a2a007748c065ab;p=kivitendo-erp.git SL::Layout -> SL::Layout::Dispatcher --- diff --git a/SL/Controller/LoginScreen.pm b/SL/Controller/LoginScreen.pm index 89909c00d..89f21ccfa 100644 --- a/SL/Controller/LoginScreen.pm +++ b/SL/Controller/LoginScreen.pm @@ -39,7 +39,7 @@ sub action_login { $::form->{login} = $::myconfig{login}; $::locale = Locale->new($::myconfig{countrycode}) if $::myconfig{countrycode}; my $user = User->new(login => $::myconfig{login}); - $::request->{layout} = SL::Layout->new(style => $user->{menustyle}); + $::request->{layout} = SL::Layout::Dispatcher->new(style => $user->{menustyle}); # if we get an error back, bale out my $result = $user->login($::form);