projects
/
Business-OnlinePayment-PaymentsGateway.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a305963
)
quieter tests on older perl
author
ivan
<ivan>
Sat, 21 Dec 2002 10:39:48 +0000
(10:39 +0000)
committer
ivan
<ivan>
Sat, 21 Dec 2002 10:39:48 +0000
(10:39 +0000)
PaymentsGateway.pm
patch
|
blob
|
history
diff --git
a/PaymentsGateway.pm
b/PaymentsGateway.pm
index
9d69b4c
..
93dd6ef
100644
(file)
--- 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";