From 29705d1d6db8ed4257aee37d8932d1a506ba067a Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 6 Dec 2015 15:45:25 -0800 Subject: [PATCH] supporter_id does not belong here. --- scripts/db-convert-0.1-to-0.2.plx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/db-convert-0.1-to-0.2.plx b/scripts/db-convert-0.1-to-0.2.plx index 2810b99..86b18fe 100644 --- a/scripts/db-convert-0.1-to-0.2.plx +++ b/scripts/db-convert-0.1-to-0.2.plx @@ -93,7 +93,7 @@ while (my $row = $sthOld->fetchrow_hashref) { $sthInsertEmailAddress->execute($row->{paypal_payer}); my $emailId = $dbhNew->last_insert_id("","","",""); $sthLinkSupporterToEmail->execute($supporterId, $emailId); - $sthPostalAddress->execute($supporterId, $row->{formatted_address}); + $sthPostalAddress->execute($row->{formatted_address}); my $postalId = $dbhNew->last_insert_id("","","",""); $sthLinkSupporterToPostal->($supporterId, $postalId); }