From eba9c5a412c52fa67931561438ad9d5816f9067b Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sun, 11 Nov 2007 22:07:32 +0100 Subject: [PATCH] proper resources in cov op table --- scripts/scans.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .= <