X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment.git;a=blobdiff_plain;f=OnlinePayment.pm;h=2bd6c4d98a7f2be779720d66ba8f42a825480719;hp=0b598f185297eaac34e20822c698a1bd100fbd98;hb=e8a94b0859040833693b3c9a7d71b0257fa7a39a;hpb=17a02a23f6f907fe1d1f2384a31ab45de9192ae1 diff --git a/OnlinePayment.pm b/OnlinePayment.pm index 0b598f1..2bd6c4d 100644 --- 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.