X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/88bc69df3f068d3ca75d5a48ea46e5b26a448792..db68b6fd72b9f0d7d8be953746c0e7d6154f5eaf:/bin/mozilla/ap.pl 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!'));