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); }