diff --git a/scripts/t-shirt-label-print.plx b/scripts/t-shirt-label-print.plx index 304d37a..da6fd8c 100644 --- a/scripts/t-shirt-label-print.plx +++ b/scripts/t-shirt-label-print.plx @@ -96,7 +96,7 @@ foreach my $id (sort { sortFunction($a, $b); } @supporterIds) { next; } - my $postalAddress = $sp->getPreferredEmailAddress($id); + my $postalAddress = $sp->getPreferredPostalAddress($id); if (not defined $postalAddress) { my(@postalAddresses) = $sp->getPostalAddresses($id); $postalAddress = $postalAddresses[0];