[freeside-commits] branch FREESIDE_3_BRANCH updated. 6ee6d1bbed1f6dcb5f60a91d3448e6b28aa2b683

Ivan ivan at 420.am
Sun Mar 19 08:54:00 PDT 2017


The branch, FREESIDE_3_BRANCH has been updated
       via  6ee6d1bbed1f6dcb5f60a91d3448e6b28aa2b683 (commit)
      from  9f2cdf737a3fb67775ceb74beae1f5212212bdb6 (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 6ee6d1bbed1f6dcb5f60a91d3448e6b28aa2b683
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Mar 19 08:53:31 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 2d91b0b..e08bfe4 100644
--- a/httemplate/view/Status.html
+++ b/httemplate/view/Status.html
@@ -228,7 +228,8 @@ foreach my $agent (
   })
 ) {
   my $gateway = $agent->payment_gateway('method'=>'VISA card', 'nofatal'=>1, );
-  next unless $gateway->gateway_namespace eq 'Business::OnlinePayment';
+  next unless $gateway
+           && $gateway->gateway_namespace eq 'Business::OnlinePayment';
   eval "use Business::OnlinePayment";
   die $@ if $@; #die?
   my $bop = new Business::OnlinePayment( $gateway->gateway_module,

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

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




More information about the freeside-commits mailing list