From: Michael Andreen Date: Sun, 11 Nov 2007 21:07:32 +0000 (+0100) Subject: proper resources in cov op table X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=eba9c5a412c52fa67931561438ad9d5816f9067b proper resources in cov op table --- diff --git a/scripts/scans.pl b/scripts/scans.pl index 5eb746e..756778e 100755 --- a/scripts/scans.pl +++ b/scripts/scans.pl @@ -108,7 +108,7 @@ HTML my $f = $dbh->prepare("UPDATE covop_targets SET metal = ?, crystal = ?, eonium = ? WHERE planet = ?"); if ($f->execute($2,$4,$6,$planet) < 1){ $f = $dbh->prepare("INSERT INTO covop_targets (planet,metal, crystal, eonium) VALUES(?,?,?,?)"); - $f->execute($planet,$4,$5,$6); + $f->execute($planet,$2,$4,$6); } }elsif ($type eq 'Jumpgate'){ $scantext .= <