diff --git a/scripts/db-convert-0.1-to-0.2.plx b/scripts/db-convert-0.1-to-0.2.plx index 86b18fe..c3af2d9 100644 --- a/scripts/db-convert-0.1-to-0.2.plx +++ b/scripts/db-convert-0.1-to-0.2.plx @@ -95,7 +95,7 @@ while (my $row = $sthOld->fetchrow_hashref) { $sthLinkSupporterToEmail->execute($supporterId, $emailId); $sthPostalAddress->execute($row->{formatted_address}); my $postalId = $dbhNew->last_insert_id("","","",""); - $sthLinkSupporterToPostal->($supporterId, $postalId); + $sthLinkSupporterToPostal->execute($supporterId, $postalId); } foreach my $sth (qw/$sthOld $sthOld $sthNewInsertSupporter $sthInsertEmailAddress $sthLinkSupporterToEmail $sthInsertRequest $sthPostalAddress $sthLinkSupporterToPostal/) {