Verkaufsrechnung: »…gebucht«-Nachricht als Flash anzeigen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 24 Jan 2017 16:31:29 +0000 (17:31 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 24 Jan 2017 16:40:59 +0000 (17:40 +0100)
bin/mozilla/is.pl

index 942323f..6f71598 100644 (file)
@@ -841,9 +841,8 @@ sub post {
   if (!$form->{no_redirect_after_post}) {
     $form->{action} = 'edit';
     $form->{script} = 'is.pl';
-    $form->{saved_message} = $form->{label} . " $form->{invnumber} " . $locale->text('posted!');
     $form->{callback} = build_std_url(qw(action edit id callback saved_message));
-    $form->redirect;
+    $form->redirect($form->{label} . " $form->{invnumber} " . $locale->text('posted!'));
   }
 
   $main::lxdebug->leave_sub();