]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Helper/Flash.pm
Einheiten die Waren zugeordnet sind entsprechend als Fremdschlüssel verknüpfen.
[mfinanz.git] / SL / Helper / Flash.pm
index e599f6e6e99e71b19f02429c2966021473eb4238..78a94e34f0aef463c5b1cedb4371a74cd39f24a1 100644 (file)
@@ -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