summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-15 01:32:15 +0100
committertravis%sedsystems.ca <>2005-01-15 01:32:15 +0100
commit432cd0830edc786c8e73bddfed912d10ebe2a808 (patch)
treec574478dbd747c903cc95ab41c8d35c784310bf6
parent29d36c4c90c7be2f0c90b7225edb504d66064e62 (diff)
downloadbugzilla-432cd0830edc786c8e73bddfed912d10ebe2a808.tar.gz
bugzilla-432cd0830edc786c8e73bddfed912d10ebe2a808.tar.xz
Bug 277621 : Uninitialized value message when changing timetracking fields
Patch by Marc Schumann <wurblzap@gmail.com> r=justdave a=justdave
-rwxr-xr-xprocess_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 6fb94711a..e389d4551 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -90,6 +90,8 @@ if (defined $::FORM{'id'}) {
# Make sure there are bugs to process.
scalar(@idlist) || ThrowUserError("no_bugs_chosen");
+$::FORM{'dontchange'} = '' unless exists $::FORM{'dontchange'};
+
# Validate all timetracking fields
foreach my $field ("estimated_time", "work_time", "remaining_time") {
if (defined $::FORM{$field}) {
@@ -146,8 +148,6 @@ if (defined $::FORM{'id'}) {
Bugzilla::FlagType::validate(\%::FORM, $::FORM{'id'});
}
-$::FORM{'dontchange'} = '' unless exists $::FORM{'dontchange'};
-
######################################################################
# End Data/Security Validation
######################################################################