From 85f481691e32951dd3454829b1c095c6ce7d95e6 Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Wed, 13 Jun 2007 18:22:20 +0000
Subject: [PATCH] Funktion Drucken ohne erstmaliges Speichern hat nur
gespeichert und nicht danach automatisch gedruckt
---
bin/mozilla/oe.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) {
--
2.20.1