X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FHelper%2FFlash.pm;h=78a94e34f0aef463c5b1cedb4371a74cd39f24a1;hb=e1bf173bae820584e8bafdc01ebe2e7d7537a59c;hp=e599f6e6e99e71b19f02429c2966021473eb4238;hpb=bda0d70b98bd9c9afc5ef8ae83a58497989d6750;p=kivitendo-erp.git diff --git a/SL/Helper/Flash.pm b/SL/Helper/Flash.pm index e599f6e6e..78a94e34f 100644 --- a/SL/Helper/Flash.pm +++ b/SL/Helper/Flash.pm @@ -16,7 +16,7 @@ sub flash { } sub flash_later { - $::auth->set_session_value(FLASH => _store_flash($::auth->get_session_value('FLASH'), @_))->save_session(); + $::auth->set_session_value({ key => "FLASH", value => _store_flash($::auth->get_session_value('FLASH'), @_), auto_restore => 1 }); } sub render_flash { @@ -45,7 +45,7 @@ __END__ =head1 NAME -SL::Helpers::Flash - helper functions for storing messages to be +SL::Helper::Flash - helper functions for storing messages to be displayed to the user =head1 SYNOPSIS