From 17c8a729b2c8b0d8a78db798789bc0810e8a45fb Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 24 Jul 2008 08:53:13 -0700 Subject: [PATCH] * Fix display of distributions in the version graph --- cgi/version.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi/version.cgi b/cgi/version.cgi index 7e19e9e..01db818 100755 --- a/cgi/version.cgi +++ b/cgi/version.cgi @@ -241,8 +241,8 @@ foreach my $key (keys %all_states) { or $all_states{$key} eq 'absent'); next if $cgi_var{ignore_boring} and not version_relevant($version,$key,\@interesting_versions); my @attributes = @{$state{$all_states{$key}}}; - if (length $short_version and exists $version_to_dist{$short_version}) { - push @attributes, 'label="'.$key.'\n'."(".join(', ',@{$version_to_dist{$short_version}}).")\""; + if (exists $version_to_dist{$key}) { + push @attributes, 'label="'.$key.'\n'."(".join(', ',@{$version_to_dist{$key}}).")\""; } my $node_attributes = qq("$key" [).join(',',@attributes).qq(]\n); $dot .= $node_attributes; -- 2.39.2