X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=OnlinePayment.pm;h=2adbd80e5788cb6f21923f2178d040ad41c8164a;hb=534e87c9dbc8562c4f6bbd6cfe96b7b8dae0fab8;hp=0b598f185297eaac34e20822c698a1bd100fbd98;hpb=014561f398ee68784f051fe7490fbe7967cab9e0;p=Business-OnlinePayment.git diff --git a/OnlinePayment.pm b/OnlinePayment.pm index 0b598f1..2adbd80 100644 --- a/OnlinePayment.pm +++ b/OnlinePayment.pm @@ -6,7 +6,7 @@ use Carp; require 5.005; -$VERSION = '3.04'; +$VERSION = '3.05_01'; $VERSION = eval $VERSION; # modperlstyle: convert the string into a number # Remember subclasses we have "wrapped" submit() with _pre_submit() @@ -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.