Commit 432cd083 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 277621 : Uninitialized value message when changing timetracking fields

Patch by Marc Schumann <wurblzap@gmail.com> r=justdave a=justdave
parent 29d36c4c
......@@ -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
######################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment