зеркало из https://github.com/mozilla/gecko-dev.git
Bug 277621 : Uninitialized value message when changing timetracking fields
Patch by Marc Schumann <wurblzap@gmail.com> r=justdave a=justdave
This commit is contained in:
Родитель
0d383b2c51
Коммит
bcfc0ad7dc
|
@ -90,6 +90,8 @@ if (defined $::FORM{'id'}) {
|
||||||
# Make sure there are bugs to process.
|
# Make sure there are bugs to process.
|
||||||
scalar(@idlist) || ThrowUserError("no_bugs_chosen");
|
scalar(@idlist) || ThrowUserError("no_bugs_chosen");
|
||||||
|
|
||||||
|
$::FORM{'dontchange'} = '' unless exists $::FORM{'dontchange'};
|
||||||
|
|
||||||
# Validate all timetracking fields
|
# Validate all timetracking fields
|
||||||
foreach my $field ("estimated_time", "work_time", "remaining_time") {
|
foreach my $field ("estimated_time", "work_time", "remaining_time") {
|
||||||
if (defined $::FORM{$field}) {
|
if (defined $::FORM{$field}) {
|
||||||
|
@ -146,8 +148,6 @@ if (defined $::FORM{'id'}) {
|
||||||
Bugzilla::FlagType::validate(\%::FORM, $::FORM{'id'});
|
Bugzilla::FlagType::validate(\%::FORM, $::FORM{'id'});
|
||||||
}
|
}
|
||||||
|
|
||||||
$::FORM{'dontchange'} = '' unless exists $::FORM{'dontchange'};
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# End Data/Security Validation
|
# End Data/Security Validation
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
Загрузка…
Ссылка в новой задаче