Fix off-by-1 in todo page generator

The todo.pl script had an off-by-1 which meant any category
with only a single bug would not appear

* docs/todo.pl: Fix off-by-1
This commit is contained in:
Daniel P. Berrange 2010-11-05 13:24:04 +00:00
parent c4bd44d927
commit a59dde7869

View File

@ -97,7 +97,7 @@ if (defined $blurb) {
print " </p>\n";
}
foreach my $tracker (sort { $a->{summary} cmp $b->{summary} } @trackers) {
next unless $#{$tracker->{features}} > 0;
next unless $#{$tracker->{features}} >= 0;
my $summary = &escape($tracker->{summary});
my $id = $tracker->{id};