]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 277621 : Uninitialized value message when changing timetracking fields
authortravis%sedsystems.ca <>
Sat, 15 Jan 2005 00:32:15 +0000 (00:32 +0000)
committertravis%sedsystems.ca <>
Sat, 15 Jan 2005 00:32:15 +0000 (00:32 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>   r=justdave   a=justdave

process_bug.cgi

index 6fb94711a0d5662d6fcc5e85a9a6b0cb2db2074d..e389d45513fc62030042e580895cc0e7c5d6f1d9 100755 (executable)
@@ -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
 ######################################################################