summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-12-21 10:39:48 +0000
committerivan <ivan>2002-12-21 10:39:48 +0000
commit8d8e42986070327b2d8e1662fc5d045b5ae20954 (patch)
treeb7d9fc6c8cb622d553b53f29cfd2ead4bf3271d8
parenta3059635230c2e65aa4e6996848d07968eb5a910 (diff)
quieter tests on older perl
-rw-r--r--PaymentsGateway.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/PaymentsGateway.pm b/PaymentsGateway.pm
index 9d69b4c..93dd6ef 100644
--- a/PaymentsGateway.pm
+++ b/PaymentsGateway.pm
@@ -184,7 +184,7 @@ sub submit {
}
my $request = join("\n", map { "$_=". $content{$_} }
- grep { $content{$_} ne '' }
+ grep { defined($content{$_}) && $content{$_} ne '' }
@fields ).
"\nendofdata\n";