From 740a0719dcc7d9dbe1001664a23e5791e4c859e7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 20 Jun 2007 07:44:58 +0000 Subject: [PATCH] =?utf8?q?Projekt=20erfassen:=20Den=20Button=20"Historie"?= =?utf8?q?=20nicht=20anzeigen,=20sondern=20nur=20beim=20Bearbeiten=20eines?= =?utf8?q?=20vorhandenen=20Projektes.=20Fix=20f=C3=BCr=20Bug=20686.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/pe.pl | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) 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| -- 2.20.1