[freeside-commits] branch master updated. 20384926da3aec745bde0b1c5fef369cca424d9f

Ivan ivan at 420.am
Sun Mar 19 08:53:32 PDT 2017


The branch, master has been updated
       via  20384926da3aec745bde0b1c5fef369cca424d9f (commit)
      from  96bb699310f235e0ca20583adc6789beedad2ef3 (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 20384926da3aec745bde0b1c5fef369cca424d9f
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