diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-17 18:51:09 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-17 18:51:09 +0100 |
commit | cd8de94df32638ec7d982d743171db809901205b (patch) | |
tree | 48b17d5e6b161b0b2131198ca75c84d959c72728 /Bugzilla | |
parent | 44de8d5f7886fa65ba5f074657c0b154f0072aeb (diff) | |
download | bugzilla-cd8de94df32638ec7d982d743171db809901205b.tar.gz bugzilla-cd8de94df32638ec7d982d743171db809901205b.tar.xz |
Bug 752946 - Fixed uninitialized error
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index b8d1cf6bc..0484ab8f4 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1948,7 +1948,7 @@ sub _check_target_milestone { $target = $product->default_milestone if !defined $target; my $object = Bugzilla::Milestone->check( { product => $product, name => $target }); - if ($object->name ne $old_target && !$object->is_active) { + if ($old_target && $object->name ne $old_target && !$object->is_active) { ThrowUserError('value_inactive', { class => ref($object), value => $target }); } return $object->name; |