]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ap.pl
Finanzbuchhaltung -> Kreditorenbuchung. Gibt derzeit keine Rückmeldung mehr, ob die...
[mfinanz.git] / bin / mozilla / ap.pl
index bac1b81975a496908367957b1e4df2c73e037494..a6d5cdc5c1073cfbf6c21b9e956e7101fe66fa8d 100644 (file)
@@ -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();
 }