[freeside-commits] branch master updated. 52177b4dcb0139da78d6e4200eaa16ec6a6f159b

Ivan ivan at 420.am
Sat Mar 18 15:21:36 PDT 2017


The branch, master has been updated
       via  52177b4dcb0139da78d6e4200eaa16ec6a6f159b (commit)
      from  e4aedf6f919c1881c113885f8afb474bdfb861b3 (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 52177b4dcb0139da78d6e4200eaa16ec6a6f159b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Mar 18 15:21:35 2017 -0700

    don't barf on status screen without a CC processor enabled

diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index 6c73617..2d91b0b 100644
--- a/httemplate/view/Status.html
+++ b/httemplate/view/Status.html
@@ -227,7 +227,7 @@ foreach my $agent (
     'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql,
   })
 ) {
-  my $gateway = $agent->payment_gateway('method'=>'VISA card');
+  my $gateway = $agent->payment_gateway('method'=>'VISA card', 'nofatal'=>1, );
   next unless $gateway->gateway_namespace eq 'Business::OnlinePayment';
   eval "use Business::OnlinePayment";
   die $@ if $@; #die?

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/Status.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list