X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=NDWeb%2FPages%2FCovOp.pm;h=162e64615bffa5f04d80a25ecefc21ea78aee0e4;hb=b3d60946973fc4d48b32c2447522f0bba02087d3;hp=e777499e03c552dc96a033a9818ee7866c8adf0f;hpb=19c3f07640411d28236abc9d4d8045f17cc8a12d;p=ndwebbie.git diff --git a/NDWeb/Pages/CovOp.pm b/NDWeb/Pages/CovOp.pm index e777499..162e646 100644 --- a/NDWeb/Pages/CovOp.pm +++ b/NDWeb/Pages/CovOp.pm @@ -79,12 +79,10 @@ sub render_body { $query->execute($self->{PLANET}); my @targets; - my $i = 0; while (my ($id,$coords,$metal,$crystal,$eonium,$seccents,$dists,$max) = $query->fetchrow){ - $i++; push @targets,{Target => $id, Coords => $coords , Metal => $metal, Crystal => $crystal, Eonium => $eonium, SecCents => $seccents - , Dists => $dists, MaxResHack => $max, List => $list, ODD => $i % 2}; + , Dists => $dists, MaxResHack => $max, List => $list}; } $BODY->param(Targets => \@targets); return $BODY;