Commit af9cc042 authored by Frédéric Buclin's avatar Frédéric Buclin

Fix an error in the patch from bug 636416, see comment 15

parent 205a682a
......@@ -60,6 +60,7 @@ sub get_product_values {
$seen{$lc_name} = $value;
}
$field =~ s/s$//;
if ($field eq 'version') {
@unique = sort { vers_cmp(lc($a->name), lc($b->name)) } @unique;
}
......@@ -67,7 +68,6 @@ sub get_product_values {
@unique = sort { lc($a->name) cmp lc($b->name) } @unique;
}
$field =~ s/s$//;
$field = 'target_milestone' if $field eq 'milestone';
$vars->{duplicates}->{$field} = \%duplicates;
$vars->{duplicate_count}->{$field} = \%duplicate_count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment