From: Jan Büren Date: Mon, 13 Apr 2015 15:51:38 +0000 (+0200) Subject: Merge branch 'master' of github.com:kivitendo/kivitendo-erp X-Git-Tag: release-3.3.0beta~153 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/9052a0482c67ea9ac1f862f3474c93e683ccae68?hp=375f824f70509fa537c4342c4a0d14204f35e767 Merge branch 'master' of github.com:kivitendo/kivitendo-erp --- diff --git a/SL/DB/BackgroundJob.pm b/SL/DB/BackgroundJob.pm index 10e319ba3..2040297b1 100644 --- a/SL/DB/BackgroundJob.pm +++ b/SL/DB/BackgroundJob.pm @@ -84,9 +84,10 @@ sub data_as_hash { sub set_data { my ($self, %data) = @_; - my $data = YAML::Load($self->data); - $data->{$_} = $data{$_} for keys %data; - $self->data(YAML::Dump($data)); + $self->data(YAML::Dump({ + %{ $self->data_as_hash }, + %data, + })); $self; } diff --git a/SL/Dispatcher/AuthHandler/Admin.pm b/SL/Dispatcher/AuthHandler/Admin.pm index 9ef6ef388..06fd3cfe3 100644 --- a/SL/Dispatcher/AuthHandler/Admin.pm +++ b/SL/Dispatcher/AuthHandler/Admin.pm @@ -23,7 +23,6 @@ sub handle { } $::request->{layout} = SL::Layout::Dispatcher->new(style => 'admin'); - $::request->layout->no_menu(1); $::auth->delete_session_value('admin_password'); $::auth->punish_wrong_login; SL::Dispatcher::show_error('admin/adminlogin', 'password');