]> git.donarmstrong.com Git - debbugs.git/commitdiff
* Only indicate that a bug has been reopened on found when it actually has.
authorDon Armstrong <don@donarmstrong.com>
Wed, 4 Jul 2007 17:37:09 +0000 (10:37 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 4 Jul 2007 17:37:09 +0000 (10:37 -0700)
scripts/service.in

index d71bb138c40491dc8f4690fa1bcf5d1938c1614e..acf5bfa1131f8afb2642936fa0c9655f949554ed 100755 (executable)
@@ -564,8 +564,9 @@ END
                        my @fixed_order = sort {Debbugs::Versions::Dpkg::vercmp($a,$b);}
                             map {s{.+/}{}; $_;} @{$data->{fixed_versions}};
                        if (not @fixed_order or (Debbugs::Versions::Dpkg::vercmp($version_only,$fixed_order[-1]) >= 0)) {
+                            $action = "$gBug marked as found in version $version and reopened."
+                                 if length $data->{done};
                             $data->{done} = '';
-                            $action = "$gBug marked as found in version $version and reopened.";
                        }
                     } else {
                         # Versionless found; assume old-style "not fixed at