[freeside-commits] branch FREESIDE_3_BRANCH updated. e371b7c0a972d34da19b5ce1d21c111877427c41

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


The branch, FREESIDE_3_BRANCH has been updated
       via  e371b7c0a972d34da19b5ce1d21c111877427c41 (commit)
      from  369f5d5e85647d615235dc63bb22284bd6acf59e (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 e371b7c0a972d34da19b5ce1d21c111877427c41
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Mar 18 15:21:39 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