diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-17 18:49:28 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-17 18:49:28 +0100 |
commit | 5681c71471fad4081a3b8f620a8f586e0a35a6d8 (patch) | |
tree | aaa35c5b8a8bb43612aef74c1e05b1c17486973a | |
parent | 9035629755f4c20b7e8c974efd696f09aae981c8 (diff) | |
download | bugzilla-5681c71471fad4081a3b8f620a8f586e0a35a6d8.tar.gz bugzilla-5681c71471fad4081a3b8f620a8f586e0a35a6d8.tar.xz |
Bug 752946 - Fixed uninitialized error
-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 f694d0621..c557930b9 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1916,7 +1916,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; |