From 67a37ddd107010436387374887dc2f0a8f4ea80c Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Wed, 16 Dec 2015 20:13:57 -0800 Subject: [PATCH] Revert incorrect table change from earlier commit. An earlier commit that meant to remove the "my" from beginning of this statement inadvertently changed the table name. This is now corrected. --- Supporters/lib/Supporters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Supporters/lib/Supporters.pm b/Supporters/lib/Supporters.pm index 0206172..5b3e6c8 100644 --- a/Supporters/lib/Supporters.pm +++ b/Supporters/lib/Supporters.pm @@ -210,7 +210,7 @@ sub addEmailAddress($$$$) { my $addressId = $self->dbh->last_insert_id("","","",""); $sth->finish(); - $sth = $self->dbh->prepare("INSERT INTO supporter_postal_address_mapping" . + $sth = $self->dbh->prepare("INSERT INTO supporter_email_address_mapping" . "(supporter_id, email_address_id) " . "VALUES( ?, ?)"); $sth->execute($id, $addressId);