X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Far.pl;h=af964bbd71ada527df1848e00e269ea6363f3f7a;hb=1b3fe156b5ddfd588c1e55af5e21a36e84d9caf8;hp=af47235a933f49ecc395998042a480781e280d9e;hpb=bde667c235b2347bdd1322f118b032a2f0d93367;p=kivitendo-erp.git diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index af47235a9..af964bbd7 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -1060,7 +1060,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!'));