From: Philip Reetz
Date: Wed, 13 Jun 2007 18:22:20 +0000 (+0000)
Subject: Funktion Drucken ohne erstmaliges Speichern hat nur gespeichert und nicht danach...
X-Git-Tag: release-2.4.3^2~137
X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/85f481691e32951dd3454829b1c095c6ce7d95e6?ds=inline
Funktion Drucken ohne erstmaliges Speichern hat nur gespeichert und nicht danach automatisch
gedruckt
---
diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl
index 6281afe4d..df883fc21 100644
--- a/bin/mozilla/oe.pl
+++ b/bin/mozilla/oe.pl
@@ -122,7 +122,7 @@ sub edit {
set_headings("edit");
# editing without stuff to edit? try adding it first
- if ($form->{rowcount}) {
+ if ($form->{rowcount} && !$form->{print_and_save}) {
map { $id++ if $form->{"multi_id_$_"} } (1 .. $form->{rowcount});
if (!$id) {