diff --git a/Supporters/lib/Supporters.pm b/Supporters/lib/Supporters.pm index 6590a6b..6229fb0 100644 --- a/Supporters/lib/Supporters.pm +++ b/Supporters/lib/Supporters.pm @@ -267,7 +267,7 @@ sub addPostalAddress($$$$) { my $addressTypeId; eval { - $addressTypeId = $self->addAddressType($emailAddressType); + $addressTypeId = $self->addAddressType($addressType); }; if ($@ or not defined $addressTypeId) { my $err = $@;