summaryrefslogtreecommitdiff
path: root/PayflowPro.pm
diff options
context:
space:
mode:
authorivan <ivan>2005-08-03 00:57:06 +0000
committerivan <ivan>2005-08-03 00:57:06 +0000
commit0c7b01010edc4223bdf74649592731e8268e708c (patch)
treeabeb57ef22fe69a89f0405e61eba28a2d91f0267 /PayflowPro.pm
parentd49cf874685e4460fa4d9edd17f0186c08bf2d90 (diff)
Fix inadvertant clobbering of zip code, patch from <phil@perkpartners.com>, CPAN bug #13896BUSINESS_ONLINEPAYMENT_PAYFLOWPRO_0_03
Diffstat (limited to 'PayflowPro.pm')
-rw-r--r--PayflowPro.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/PayflowPro.pm b/PayflowPro.pm
index 86a43a0..0051fb9 100644
--- a/PayflowPro.pm
+++ b/PayflowPro.pm
@@ -125,7 +125,7 @@ sub submit {
$month = '0'. $month if $month =~ /^\d$/;
}
- $zip = $content{'zip'} =~ s/\D//;
+ ( $zip = $content{'zip'} ) =~ s/\D//g;
#}
#$content{'address'} =~ /^(\S+)\s/;