projects
/
Business-OnlinePayment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a02a2
)
fix doc for silly_bool
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 20 Dec 2015 21:11:22 +0000
(13:11 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 20 Dec 2015 21:11:22 +0000
(13:11 -0800)
OnlinePayment.pm
patch
|
blob
|
history
diff --git
a/OnlinePayment.pm
b/OnlinePayment.pm
index
0b598f1
..
2bd6c4d
100644
(file)
--- a/
OnlinePayment.pm
+++ b/
OnlinePayment.pm
@@
-788,8
+788,8
@@
Croaks if any of the required fields are not present.
=head2 silly_bool( $value )
-Returns
0
if the value starts with y, Y, t or T.
-Returns
1
if the value starts with n, N, f or F.
+Returns
1
if the value starts with y, Y, t or T.
+Returns
0
if the value starts with n, N, f or F.
Otherwise returns the value itself.
Use this for handling boolean content like tax_exempt.