]> git.donarmstrong.com Git - debbugs.git/commitdiff
* fix collapsing for distributed versions
authorDon Armstrong <don@donarmstrong.com>
Thu, 24 Jul 2008 16:29:24 +0000 (09:29 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 24 Jul 2008 16:29:24 +0000 (09:29 -0700)
cgi/version.cgi

index 01db818528b1177d2364e3124572d7e470d9f27b..547dc7ab04aa5929ec592e2f3729a8012f01f944 100755 (executable)
@@ -186,7 +186,7 @@ if ($cgi_var{collapse}) {
      # are in the same state as their parent, and are not in a suite
      foreach my $key (keys %reversed_nodes) {
          my ($short_version) = $key =~ m{/(.+)$};
-         if (not exists $version_to_dist{$short_version}
+         if (not exists $version_to_dist{$key}
              and @{$reversed_nodes{$key}} <= 1
              and defined $version->{parent}{$key}
              and $all_states{$key} eq $all_states{$version->{parent}{$key}}