X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fap.pl;h=a6d5cdc5c1073cfbf6c21b9e956e7101fe66fa8d;hb=6217d70bb9127b590faca751991c05b66d9ee310;hp=bac1b81975a496908367957b1e4df2c73e037494;hpb=9bd3030a376850c427c102c6e0c54f19bd19332e;p=kivitendo-erp.git diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index bac1b8197..a6d5cdc5c 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1081,9 +1081,11 @@ sub post { } # /saving the history remove_draft() if $form->{remove_draft}; + # Dieser Text wird niemals ausgegeben: Probleme beim redirect? $form->redirect($locale->text('Transaction posted!')); + } else { + $form->error($locale->text('Cannot post transaction!')); } - $form->error($locale->text('Cannot post transaction!')); $main::lxdebug->leave_sub(); }