X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fap.pl;h=18924979618cdc15c056fadb24d48b3102857b87;hb=82ab26a0d201bf24aba85e058e1cb23928a4b44a;hp=54a9c94b489a246d3f68094515d189ec30d670fb;hpb=bde667c235b2347bdd1322f118b032a2f0d93367;p=kivitendo-erp.git diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 54a9c94b4..189249796 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1019,7 +1019,7 @@ sub post { $form->save_history($form->dbconnect(\%myconfig)); } # /saving the history - remove_draft(); + remove_draft() if $form->{remove_draft}; $form->redirect($locale->text('Transaction posted!')); } $form->error($locale->text('Cannot post transaction!'));