[freeside-commits] branch FREESIDE_4_BRANCH updated. a9a3b8f1891818ff06d1dab2e9bdc0524c0cb09a
Ivan
ivan at 420.am
Sat Apr 1 10:29:05 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via a9a3b8f1891818ff06d1dab2e9bdc0524c0cb09a (commit)
from e1323e55ca76010d39ea68e254cef0b812de12fa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a9a3b8f1891818ff06d1dab2e9bdc0524c0cb09a
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Apr 1 10:29:04 2017 -0700
add omit_cust_main_county flag to payment_info API call, RT#75124
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 5907fd1..e69122b 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -850,6 +850,8 @@ sub payment_info {
my %return = %$payment_info;
+ delete $return{'cust_main_county'} if $p->{'omit_cust_main_county'};
+
my $custnum = $session->{'custnum'};
my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-----------------------------------------------------------------------
Summary of changes:
FS/FS/ClientAPI/MyAccount.pm | 2 ++
1 file changed, 2 insertions(+)
More information about the freeside-commits
mailing list