[freeside-commits] branch master updated. d841bcfd09c9fa3047c4a179889b2b1e13f8ee8e

Ivan ivan at 420.am
Sat Apr 1 10:29:03 PDT 2017


The branch, master has been updated
       via  d841bcfd09c9fa3047c4a179889b2b1e13f8ee8e (commit)
      from  3d07673d44b50749619bdf1f2b6b931c7ca30d8d (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 d841bcfd09c9fa3047c4a179889b2b1e13f8ee8e
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Apr 1 10:29:02 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