From a5d3403bcc6e7285d179a11bc274a27de8b08c2d Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Tue, 1 Apr 2008 13:29:36 +0000 Subject: [PATCH] Fixed upgrade script. --- docs/upgrades/upgrade_7.5.2-7.5.3.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/upgrades/upgrade_7.5.2-7.5.3.pl b/docs/upgrades/upgrade_7.5.2-7.5.3.pl index 634dbbf7e..becbd1c7a 100644 --- a/docs/upgrades/upgrade_7.5.2-7.5.3.pl +++ b/docs/upgrades/upgrade_7.5.2-7.5.3.pl @@ -408,8 +408,8 @@ sub migrateOldProduct { print "\tMigrate old Product to new SKU based Products.\n" unless ($quiet); # and here's our code ##Grab data from Wobject table, and move it into Sku and Product, as appropriate. - my $wobject = $session->db->prepare('select * from commerceSalesTax'); - my $sku = $session->db->prepare('insert into tax (taxId, country, state, city, code, taxRate) VALUES (?,?,?,?,?,?)'); + my $oldTax = $session->db->prepare('select * from commerceSalesTax'); + my $newTax = $session->db->prepare('insert into tax (taxId, country, state, city, code, taxRate) VALUES (?,?,?,?,?,?)'); my $rmWobject = $oldTax->execute(); while (my $oldTaxData = $oldTax->hashRef()) {