X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fpe.pl;h=cae9bfc5db27b7af457fa1086457929c14519825;hb=3138b5c71a57c5cf7ce31a96432563f663063c22;hp=ef3a5a06471cf947a36ee8049d6459ef1c795205;hpb=d629acd82a27e980899a044ca8b0f4becc8e94bb;p=kivitendo-erp.git
diff --git a/bin/mozilla/pe.pl b/bin/mozilla/pe.pl
index ef3a5a064..cae9bfc5d 100644
--- a/bin/mozilla/pe.pl
+++ b/bin/mozilla/pe.pl
@@ -424,14 +424,17 @@ sub form_project_footer {
. $locale->text('Delete') . qq|">|;
}
-# button for saving history
-print qq|
- {id}
- . qq|); name=history id=history value=|
- . $locale->text('history')
- . qq|>|;
-# /button for saving history
+ if ($form->{id}) {
+ # button for saving history
+ print qq|
+ {id}
+ . qq|); name=history id=history value=|
+ . $locale->text('history')
+ . qq|>|;
+ # /button for saving history
+ }
+
print qq|