]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/is.pl
@sven s: warum warten? Patch aus Kundenprojekt, der einige Felder in customer auf...
[mfinanz.git] / bin / mozilla / is.pl
index 4192beb5bfd449b416df14c782c3910cc7d1a39d..450d0b6131f0eb94b75108dfd8b0f7e4fe5cca21 100644 (file)
@@ -721,7 +721,7 @@ sub post {
     $form->{addition} = $form->{print_and_post} ? "PRINTED AND POSTED" :
                         $form->{storno}         ? "STORNO"             :
                                                   "POSTED";
-    $form->save_history($form->dbconnect(\%myconfig));
+    $form->save_history;
   }
 
   if (!$form->{no_redirect_after_post}) {
@@ -942,7 +942,7 @@ sub yes {
     if(!exists $form->{addition}) {
     $form->{snumbers} = qq|invnumber_| . $form->{invnumber};
       $form->{addition} = "DELETED";
-      $form->save_history($form->dbconnect(\%myconfig));
+      $form->save_history;
     }
     # /saving the history
     $form->redirect($locale->text('Invoice deleted!'));